Web Hosting Talk







View Full Version : Compiling PHP 4.0.6 against GD 1.8++


leonardteo
07-18-2001, 12:08 AM
Hi,

I've been banging my head at this for the last couple of hours. I'm trying to get JPEG support into my build of PHP. To do this, I had to recompile GD in order to get JPEG support.

This is where the problems start. The later versions of GD (1.6 and above) no longer support GIF. So when I compile PHP4.0.6, it tries to access GIF functions that no longer exist and the MAKE fails.

Does anyone know how to get around this?

Thanks in advance,

Leonard

leonardteo
07-18-2001, 12:31 AM
WOOOHOOO! Figured it out...
Don't point PHP to your GD library, but point it to the directory where you downloaded GD. Now it works.

Yay!

Leonard