Why are php-gd and gd not recognized?1 user found helpful
yum list | grep "gd.*installed" [...] gd.i386 2.0.28-5.4E.el4_8.1 installed php-gd.i386 5.3.10-2.el4.remi installed
Where should I go from here?
Chuck into a php file:
<?php phpinfo(); ?>
And view the file via a browser.
If GD is loaded, you'll see a section for it, where in particular it will state 'GD Support enabled'.
If it's not there, it's a PHP config problem. I would have though that the yum install would have run any necessary scripts to get it installed, but perhaps you installed something in an order that mixed things up. I'd try uninstalling those two packages and reinstalling.
The next thing I'd look at is whether gd is enabled in your php.ini config file, which should be at /etc/php.ini (I think)
In that, look for:
and uncomment it if it is still commented out (normally with a semicolon).
Then restart apache and re-check the phpinfo for a GD section.
Thanks for all the help.