I am trying to install PHP 5.2.17 on CentOS 6.2. I have downloaded RPMs from http://www6.atomicorp.com/channels/atomic/centos/6/i386/RPMs/
Problem is that the PHP RPM seems to have GD disabled by default. Hence in spite installing php-gd RPM, GD is disabled.
Is there any way that I can enable GD. Atomicorp seems to be the only website that has PHP 5.2.17 RPMs.
I am not an advanced user to be able to compile PHP.
I would appreciate help on this.
As has been mentioned in a comment by pkhamre you may just need to edit php.ini and enable the gd extension. [change a line from
;extension=gd.so
toextension=gd.so
inphp.ini
or if that line doesn't exist add it to yourphp.ini
]Alternatively, if you are not looking for a specific version of PHP5, you can use a package manager. They are on most linux distro's and vary slightly from distro to distro but will take care of most of the issues involved with installing and keeping software up-to-date (important!).
On CentOS you should be able to
yum install php-gd
or similar.