
Originally Posted by
sh4ka
You may try:
##Unninstall GD libraries
rpm -e --justdb --nodeps gd gd-devel
##Install again using up2date
up2date -ui gd gd-devel
Good luck.
I've decided to go with PHP 4.4 for now as this project is very time sensitive and I don't have all that much code using the PHP 5 features. I've reloaded PHP 4.4 and the gd library now works fine. Although the weird thing is, I still tried running the commands up above, just to see what would happen and it here is the output:
Code:
# rpm -e --justdb --nodeps gd gd-devel
error: package gd is not installed
error: package gd-devel is not installed
As you can see, the packages aren't even installed (at least through RPM), yet it still works fine. Ideally I'd like to get gd working with PHP 5.x, but I don't have time right now to figure out how to do it. I'm thinking it has something to do with the gd library no longer being distributed with PHP 5, as it was with PHP 4. So far, I've stuck to compiling through the easyapache script to avoid doing the compiling myself as I'm still not completely comfortable with compiling directly from the source. Although I may have to become more comfortable doing this to get gd to work properly with PHP 5, along with the ability to move to the latest version of PHP (5.0.5) and gd (2.0.33), neither of which cPanel supports yet.
Thanks for your help. Also, if anyone has PHP 5.x and gd working together properly, I'd like to hear how it was done.