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:

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

PHP 5.3.2

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

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

i386

PHP 5.2.10

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

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

PHP 5.3.2

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

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

Debian

x64

PHP 5.2.6

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

PHP 5.3.3

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

PHP 5.3.8

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

i386

PHP 5.2.6

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

PHP 5.3.3

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

PHP 5.3.8

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

RPM Packages

x64

PHP 5.2.6

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

PHP 5.2.10

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

PHP 5.3.2

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

PHP 5.3.8

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

i386

PHP 5.2.6

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

PHP 5.2.10

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

PHP 5.3.2

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

PHP 5.3.8

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

Add A Comment...

Name:
Enter Security Code: captcha
Message:
 

Comments