sptrsn
By:
sptrsn

PHP GD Lib

April 1, 2014 1.7k 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
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?
Have another answer? Share your knowledge.