PHP Logo

PHP Bundled GD Library

Brought to you by Maxiwebs

GD Logo

Stop Press! - New Ubuntu DEB Packages & Debian ones and Compilation Instructions!

We have now compiled more .deb packages for Ubuntu, as the ones that were hosted here originally were getting a bit old, so added now are the latest versions. We have also added versions for the new versions of Ubuntu, versions 11.04 and 11.10. We have also compiled .deb packages for Debian Lenny, Squeeze and the new Wheezy. If your version is not here, email us at gd-bundled@maxiwebs.co.uk

We have also put together a page to show you how to compile PHP for your self, if you feel adventurous, or your PHP version is not included on these pages. Visit compilation instructions for an easy step by step guide to compiling your very own PHP packages with the bundled GD package.

This clock was drawn using the Bundled GD Library. Note the antialiased corners, drawn using imageantialias. One thing to note when using imageantialias is that you need to make your initial image four times larger than the resulting image for the antialiasing to work. Also, use imagecreatetruecolor, not imagecreate. The CAPTCHA at the bottom of the page was drawn using the GD Library, too. For another example of what can be done with the GD Library, visit the Maxiwebs Numberplate Generator.

clock

For some time now, I have been trawling the internet looking for a way to have the bundled version of the GD library in PHP. Ideally I wanted a .deb file, but that would have been far too easy! In the end, I resorted to compiling my own version of PHP with the bundled GD library support enabled.

I have compiled GD bundled .debs for several configurations. The whole process was very tedious and time consuming, so I hope these .deb packages help you out!

The bundled version has functions such as imageantialias, imagerotate, imagefilter and others.

To stop your bundled GD library from being updated with non-bundled GD library when you do an update, do the following:-

  1. Open a terminal.
  2. Run the following command: sudo apt-get install wajig.
  3. Say yes to the install.
  4. After the install, enter the following: sudo wajig hold php5-gd.

You will now have GD bundled, and the package updater will hold the package so it's never updated again.

If you require GD bundled for a different version of Ubuntu or Debian, or require PHP .deb packages besides GD bundled Please email us at gd-bundled@maxiwebs.co.uk, or compile your own version using our new compilation instructions.

We hope you enjoy your shiny new bundled version of the GD library!

RPM Packages

We now have a selection of RPM packages included for people using Fedora, Red Hat and other RPM based Linux distributions. The packages have been converted from Debian packages into RPM Packages using the Alien tool. Please note that on some distributions, it may not install the files in the correct directory and will fail to work. If this is the case, you may be able to extract the contents of the RPM package and install the files manually. If there is enough interest, I may consider creating proper RPMs on an RPM based Linux distribution.

Comments

If you use any of these packages, or appreciate the fact we've done all the leg work for you, we would be very greatful if you left a comment in the form below.

Downloads

Which one do I want?

Open up a terminal and type php -v and hit enter. This will print out the version of PHP you have installed on your machine.

DEB Packages

Ubuntu

x64

PHP 5.2.10

php5-gd_5.2.10.dfsg.1-2ubuntu6.7_amd64.deb Downloads: 431

php5-gd_5.2.10.dfsg.1-2ubuntu6.10_amd64.deb Downloads: 965

PHP 5.3.2

php5-gd_5.3.2-1ubuntu4.2_amd64.deb Downloads: 442

php5-gd_5.3.2-1ubuntu4.9_amd64.deb Downloads: 304

PHP 5.3.3

php5-gd_5.3.3-1ubuntu9.3_amd64.deb Downloads: 391

php5-gd_5.3.3-1ubuntu9.5_amd64.deb Downloads: 295

PHP 5.3.5

php5-gd_5.3.5-0.dotdeb.1_amd64.deb Downloads: 350

php5-gd_5.3.5-1ubuntu7.2_amd64.deb Downloads: 285

PHP 5.3.6

php5-gd_5.3.6-13ubuntu3.1_amd64.deb Downloads: 405

i386

PHP 5.2.10

php5-gd_5.2.10.dfsg.1-2ubuntu6.7_i386.deb Downloads: 383

php5-gd_5.2.10.dfsg.1-2ubuntu6.10_i386.deb Downloads: 274

PHP 5.3.2

php5-gd_5.3.2-1ubuntu4.7_i386.deb Downloads: 454

php5-gd_5.3.2-1ubuntu4.9_i386.deb Downloads: 324

PHP 5.3.3

php5-gd_5.3.3-1ubuntu9.3_i386.deb Downloads: 496

php5-gd_5.3.3-1ubuntu9.5_i386.deb Downloads: 230

PHP 5.3.5

php5-gd_5.3.5-0.dotdeb.1_i386.deb Downloads: 346

php5-gd_5.3.5-1ubuntu7.2_i386.deb Downloads: 214

PHP 5.3.6

php5-gd_5.3.6-13ubuntu3.1_i386.deb Downloads: 383

Debian

x64

PHP 5.2.6

php5-gd_5.2.6.dfsg.1-1+lenny13_amd64.deb Downloads: 229

PHP 5.3.3

php5-gd_5.3.3-7+squeeze3_amd64.deb Downloads: 369

PHP 5.3.8

php5-gd_5.3.8-2_amd64.deb Downloads: 239

i386

PHP 5.2.6

php5-gd_5.2.6.dfsg.1-1+lenny13_i386.deb Downloads: 237

PHP 5.3.3

php5-gd_5.3.3-7+squeeze3_i386.deb Downloads: 241

PHP 5.3.8

php5-gd_5.3.8-2_i386.deb Downloads: 196

RPM Packages

x64

PHP 5.2.6

php5-gd-5.2.6.dfsg.1-2.x86_64.rpm Downloads: 128

PHP 5.2.10

php5-gd-5.2.10.dfsg.1-3.x86_64.rpm Downloads: 292

PHP 5.3.2

php5-gd-5.3.2-2.x86_64.rpm Downloads: 339

PHP 5.3.3

php5-gd-5.3.3-2.x86_64.rpm Downloads: 470

php5-gd-5.3.3-8.x86_64.rpm Downloads: 106

PHP 5.3.5

php5-gd-5.3.5-1.x86_64.rpm Downloads: 280

php5-gd-5.3.5-2.x86_64.rpm Downloads: 139

PHP 5.3.6

php5-gd-5.3.6-14.x86_64.rpm Downloads: 105

PHP 5.3.8

php5-gd-5.3.8-3.x86_64.rpm Downloads: 126

i386

PHP 5.2.6

php5-gd-5.2.6.dfsg.1-2.i386.rpm Downloads: 154

PHP 5.2.10

php5-gd-5.2.10.dfsg.1-3.i386.rpm Downloads: 280

PHP 5.3.2

php5-gd-5.3.2-2.i386.rpm Downloads: 333

PHP 5.3.3

php5-gd-5.3.3-2.i386.rpm Downloads: 328

php5-gd-5.3.3-8.i386.rpm Downloads: 116

PHP 5.3.5

php5-gd-5.3.5-1.i386.rpm Downloads: 319

php5-gd-5.3.5-2.i386.rpm Downloads: 140

PHP 5.3.6

php5-gd-5.3.6-14.i386.rpm Downloads: 117

PHP 5.3.8

php5-gd-5.3.8-3.i386.rpm Downloads: 132

Add A Comment...

Name:
Enter Security Code: captcha
Message:
 

Comments

Peter McConville Says:

Thanks for that, just what I needed. Had trouble compiling it myself, kept getting errors. The .deb was just what I was looking for!

Ste Fish Says:

Now I can do antialiasing! Nice one!

chris99 Says:

The compilation guide was really useful, thanks very much.

Adam1980 Says:

Thanks for the deb packages, works great.

Damoevil Says:

Antialiasing now works, thanks Maxiwebs.

harry Says:

Deb packages were just what I needed. You are the man.

Norman Says:

Thank you so much for providing this! Works perfect!

hugOh Says:

Thanks a lot! (y)

Don B Says:

Thanks for this project. I could not compile the GD project myself. Everything seemed to be going well until the very last step, then errors errors errors...

@_hegarty Says:

Thanks a bunch. this was an incredible find!

Erik Says:

Thank you very, very much. Never though I'd get jpgraph working on my system until I ran into this site. And even on 64-bit ...

Anatta Says:

Thank you so much! This has been on my to-do list for far too long and I really didn't want to bulk out my server with all of the build dependencies. Your package has saved me all of that hassle. Have you considered adding a donate link??

Tilly Says:

Super jazzed about gettnig that know-how.

Lavon Says:

If your articles are always this hepfull, "I'll be back."

Xandy Says:

Thanks for being on point and on tregat!

mahesh Says:

This is great! Just wondering if you would have it for PHP 5.3.2-1ubuntu4.11 x64! Because they apparently updated the php version.

HTL Says:

Thanks - saved me a real bunch of time form my site Bournemouth Funeral Directors

HTL Says:

Thanks - saved me a real bunch of time form my site Bournemouth Funeral Directors

jono Says:

Thanks for this, saved me loads of messing about.

Arie W. Subagja Says:

Thank you! very userful

Christophe Gras Says:

Thanks ! It's OK for me on an old Ubuntu 9.04 installation. (package name : php5-gd_5.2.6.dfsg.1-3ubuntu4.6_i386.deb)

taymon Says:

This is great that you share the Php information with us.who to get dissertation

taymon Says:

This is great that you share the Php information with us.who to get dissertation

strobin Says:

I could not compile the GD project myself. Everything seemed to be going well until the very last step, then errors errors errors... [url=http://www.totalcreation.co.uk/]Cheap Web Design Services[/url]

Perücken Says:

Wash the wig or wigs extension about once a week if you wear it every day. Fill a sink with cold water and add one capful of Woolite. Do not use shampoo because synthetic wigs are hair: they are fiber. The Woolite will clean and condition the hair. The hairpiece swirls around in the soapy water for a few minutes, then rinse with fresh water until exhausted foam. Dry on a towel and use a wide tooth comb to smooth out tangles.

d cialis et viagra i viagra inc cialis 10mg o. Says:

18 les médecins acceptent avec légèreté de pareilles

nitin Says:

http://stretch-marks-cream.net Superb post however I was wondering if you could write a litte more on this subject? I'd be very thankful if you could elaborate a little bit further. Appreciate it!

nitin Says:

[url=http://stretch-marks-cream.net]http://stretch-marks-cream.net[/url] This is my first time to visit your blog and I found very informational knowledge you done a great job, Keep more posting like this.

tedius_lemyur Says:

köpa viagra Thanks for sharing, I Think that is what I have been looking for.