Help with setting up GD for PHP

maverick

Well-Known Member
Jan 6, 2003
68
0
156
Hi,

I have user that has asked us to enable GD. The server came preinstalled with PHP 4.2.3. It seems that the GD library is also already present, but is somehow not being read by PHP. Having spent the morning reading about GD and PHP, I get the impression that to enable GD, I will need to reinstall PHP with the '--with-gd' option in the ./configure line. I am I understanding this correctly, or is there an easier way to do this? Having not installed PHP on a server before, I am a bit concerned that I'm going to break something.

Any advice would be much appreciated.

Maverick.
 

SprintSlash

Well-Known Member
Jan 18, 2003
163
0
166
If you run /scripts/easyapache, and choose 5 for skill level, you can see there's an option in there to install GD lib (inside php menu).