Report this

What is the reason for this report?

PHP GD Lib

Posted on April 1, 2014

I have several domains on one droplet. I was able to apt-get install php5-gd and now the GD lib is available on ONE of my domains, but not the other. I had assumed that this would be a system wide install. (apparently not) I’ve been searching through the various php.ini files trying to make sense of this. I can’t even find the php.ini file that has the gd.so exension enabled on the one that’s working. What’s the trick to making this lib available on all domains?

centos6.4



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It should be a system wide install. Are you on Ubuntu or CentOS (you mentioned both apt-get and CentOS)? What is the output of: <br> <br> php5 -i | grep -i gd <br> <br>Does the file ‘/etc/php5/conf.d/gd.ini’ exist?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.