I've tried to compile php5.1.6 according to: But phpinfo() only shows that: The jpg-libs seems to be there. I don't know what's missing.
Any warnings in the ./configure output? Is that phpinfo() output from the correct PHP? Did you restart Apache?
ok, I've found a solution by giving more details to confingure (but I don't understand why the configure-script did not find the libs because they aren't in an unusual path.) Code: Code: --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib And now: gd GD Support enabled GD Version bundled (2.0.28 compatible) GIF Read Support enabled GIF Create Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled XBM Support enabled