i'm trying to get gd with jpeg support working on my linux box, without any luck 🙁

php version 4.1.1
gd version 1.8.4

i have:
downloaded & compiled jpeg-6b
downloaded & compiled gd

configured php:
./configure --with-gd=/usr/local/gd-1.8.4 --with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib

(i've also tried /usr/local for the --with-gd flag as it puts the libs there too)

compiled php
restarted apache.

php info shows gd is there, but i no mention of jpeg support (and if i try use any jpeg functions it says "No JPEG support in this PHP build"
and also (not sure if this is relevant) phpinfo gives the gd version as 1.2 even though i'm trying to install 1.8.4

anyone had similar problems or can point out what i'm doing wrong?
ta!

    Write a Reply...