I've had a lot of trouble getting GD to work with my web server (Apache2).
This is a Virtual Private Server using CentOS 5.5 and am currently setting it up from scratch.
I've installed GD (cannot seem to get GD2 in any yum install)...
I've apparently configured PHP 5.2.17 with GD via:
./configure --with-gd=/usr/local/cpanel/src/3rdparty/gpl/gd-1.8.4
and it seemed to check out fine, but when i restart apache and check phpinfo(), no GD is showing.
Can't seem to get this working..
NOTE::
I also found I wasn't able to find any php-gd libs in yum install packages.. Only gd..
Response to comment: output from yum repolist
repo id repo name status
base CentOS-5 - Base enabled: 3,535
extras CentOS-5 - Extras enabled: 299
rpmforge RHEL 5 - RPMforge.net - dag enabled: 10,722
updates CentOS-5 - Updates enabled: 765
repolist: 15,321
Did you check carefully? It located in
base
repo:Here is a guide to installing php5.3 with gd on centos 5
FEI: You don't have to manually compile php/apache or install rpms in a cpanel server. You simply use /scripts/easyapache script to configure/enable/disable apache/php modules.
-$