GD with Jpeg Support Problems
| From: | Michael Bryan | Date: | Tue, 20 Feb 2001 04:37:43 +0000 |
| Subject: | GD with Jpeg Support Problems | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40688@lists.php.net to get a copy of this message | ||
Hey Guys..
I've been working on installing GD with support for Jpeg. I cannot seem to
get it working in PHP, however. When I try to use it in practice, I get the
following error:
Warning: ImageCreateFromJpeg: No JPEG support in this PHP build
Here's the configure command I used:
./configure --with-apache=/usr/local/src/SOURCES/apache_1.3.12 --with-mysql=
/usr/local --with-jpeg-dir=/usr --with-gd=/usr/local --enable-track-vars
I've tried all different types of directories in the --with-jpeg, and I
can't get anything to work. I thought that perhaps GD wasn't compiled with
Jpeg Support, so I went ahead and installed the RPMs from Redhat, which I
know are compiled with that support..because they require the libjpg package
to install.
What am I doing wrong? I've compiled until I'm blue in the face.
The GD Section of phpinfo() shows the following information:
--------------------
GD Support enabled
GD Version 1.6.2 or higher
PNG Support enabled
WBMP Support enabled
---------------------
But, why is Jpeg Support not enabled?
Thanks,
Michael Bryan
Virginia Beach, VA