Question

PHP GD Lib

Posted April 1, 2014 2.3k views
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

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.

×
1 answer
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:

php5 -i | grep -i gd

Does the file '/etc/php5/conf.d/gd.ini' exist?
Submit an Answer