GD Library

#1
Hi,

I am currently running CentOS with the latest version of Litespeed & PHP 5.


Well here is the problem. I am trying to get GD library too work. I have compiled PHP with the --with-gd flag (using litespeed's admin panel "Compile PHP" interface) and still no go. Things such as captchas (image verifications) for forums will not load. I dont know whats wrong.

Any suggestions on how to go about fixing this?


Thanks,
Bob
 
#3
Ah yeah that was it. Had to manually install the libjpeg and libpng packages and recompile PHP with the --with-png-dir=/usr/local --with-zlib-dir=/usr --with-jpeg-dir=/usr/local flags and it worked. Too bad those arent included with the actual GD package its self.

Thanks for your help.
Bob
 
Top