Posted by "Christopher J. Bottaro" on 07/07/05 03:42
Warning: imagecreatefromstring() [function.imagecreatefromstring]: No JPEG
support in this PHP build
This is how I configured my php:
../configure --with-pgsql=/usr/local/postgres/ --with-apxs2=/usr/sbin/apxs
--with-gd --with-zlib-dir=/usr/lib --with-jpeg-dir=/usr/lib
I also tried with /usr instead of /usr/lib.
Both
libjpeg-6b-33
libjpeg-devel-6b-33
are installed.
phpinfo() reports:
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
I'm using php-5.0.4 and Fedora Core 3.
Where is jpeg? Thanks for the help.
P.S. Yes, I am remembering to start Apache.
Navigation:
[Reply to this message]
|