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: 799

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

PHP 5.3.2

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

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

i386

PHP 5.2.10

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

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

PHP 5.3.2

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

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

Debian

x64

PHP 5.2.6

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

PHP 5.3.3

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

PHP 5.3.8

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

i386

PHP 5.2.6

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

PHP 5.3.3

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

PHP 5.3.8

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

RPM Packages

x64

PHP 5.2.6

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

PHP 5.2.10

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

PHP 5.3.2

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

PHP 5.3.8

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

i386

PHP 5.2.6

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

PHP 5.2.10

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

PHP 5.3.2

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

PHP 5.3.3

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

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

PHP 5.3.5

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

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

PHP 5.3.6

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

PHP 5.3.8

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

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.

Hivelocity Review Says:

This link is very informative... Hivelocity Review

Hivelocity Review Says:

This link is very informative... Hivelocity Review

Çay Kazanı Says:

Çay Kazanı, Çay Kazanları, Semaver Çay Kazanı, Semaver, Kireçmatik

www.electriccigarettetree.com Says:

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. www.electriccigarettetree.com

josef_marciev Says:

viagra Bryne its just well thought out and really fantastic to see someone who knows how to put these thoughts down so well

izmir lazer epilasyon Says:

izmir lazer epilasyon Epilasyon, izmir lazer epilasyon, lazer epilasyon, epilasyon izmir, lazer epilasyon izmir

Lambert Says:

Buy Runescape 3 Gold,Cheapest RuneScape 3 Gold RS3 Gold Safe Online Sales In  RS 3 Gold Runescape 3 Gold Service With Our Professional Teams free RPG games online, online multiplayer, role-playing, massively multiplayer games, mmo, RuneScape, Jagex, java Buy RS 3 Gold

desktop backgrounds Says:

... Thanks for one's marvelous posting! I actually enjoyed reading it, you happen to be a great author.I will ensure that I bookmark your blog and definitely will come back at some point. I want to encourage you to ultimately continue your great posts, have a nice desktop backgrounds

jack Says:

When we are preparing our wedding, one of the strongest points is thinking at the banquet to be offered to the guests. Normally there is wedding services already a preset pattern, based mostly on the customs of the place where you go to get married, but it's time to renew that pattern.

Para Sayma Makinası Says:

Para Sayma Makinası Para Sayma, Para Sayma Makinası, Para Makinesi, Evrak imha makineleri, imha makinası, para sayma makineleri

Para Sayma Makinası Says:

Para Sayma, Para Sayma Makinası, Para Makinesi, Evrak imha makineleri, imha makinası, para sayma makineleri

izmir lazer epilasyon Says:

Epilasyon, izmir lazer epilasyon, lazer epilasyon, epilasyon izmir, lazer epilasyon izmir

Mutfak Aksesuarları Says:

Mutfak Aksesuarları Mutfak Aksesuarları Mutfak Aksesuarları, Koltuk Kanepe, Mobilya, Ev Aksesuarları, Aksesuar

ikzlgenctu Says:

laxsgnbyjxfct, wctomliyri , [url=http://www.upivujvdoe.com/]trssincsey[/url], http://www.plhtaqdotd.com/ wctomliyri

javed607 Says:

Thank you for another essential article. Where else could anyone get that kind of information in such a complete way of writing ? I have a presentation incoming week, and I am on the lookout for such information. medical case study

medical case study Says:

I am so much excited after reading your blog. Your blog is very much innovative and much helpful for any industry as well as for person.

diablo gold Says:

Your post has been very helpful.

Rift Platinum Says:

I have been following this for a long time and I really think I have learned so much!

Buy RS 3 Gold Says:

I like it very much, and I am looking forward to hearing from your next.

final fantasy XIV gil Says:

GOOD POST

best essay Says:

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? best essay It is extremely helpful for me.

jual dompet pria Says:

This is one of the most incredible blogs Ive read in a very long time. The amount of information in here is stunning, like you practically wrote the book on the subject. Your blog is great for anyone who wants to understand this subject more. Great stuff; please keep it up.

jual dompet pria Says:

This is one of the most incredible blogs Ive read in a very long time. The amount of information in here is stunning, like you practically wrote the book on the subject. Your blog is great for anyone who wants to understand this subject more. Great stuff; please keep it up.

Ahmad Says:

A lot of the investors offer preference to be able to silver right after gold while planning for commodity purchase. express finance

Rehan Says:

Wow, it is really nice post . This is very simple and valuable blog and there are many useful articles and I learned a lot here. I am really enthralled from your imaginative thinking and remarkable stated information. Waxman Mosaic Tiles

Rehan Says:

Wow, it is really nice post . This is very simple and valuable blog and there are many useful articles and I learned a lot here. I am really enthralled from your imaginative thinking and remarkable stated information. Waxman Mosaic Tiles

Waxman Mosaic Tiles Says:

I am preparing my assignment paper and gathering information on this topic. Your post is one of the better that I have read. Thank you for putting this information into one place.

Drus Says:

agen bola terpercaya Excellent blog here! Also your website loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as fast as yours lol

Drus Says:

agen bola terpercaya Excellent blog here! Also your website loads up very fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as fast as yours lol