RE: [PHP] still having trouble with jpeg/image functions
| From: | Chris Lee | Date: | Mon, 27 Nov 2000 08:45:46 +0000 |
| Subject: | RE: [PHP] still having trouble with jpeg/image functions | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27504@lists.php.net to get a copy of this message | ||
I had the simmilar problem as this, the problem was that the RH gd / jpeg
libraries were interfearing with the ones Ive compiled. php was finding
the old libs, not the new ones.
rpm -aq | grep -i gd
rpm -aq | grep -i jpeg
see what comes up. if it shows any of the gd libs installed. remove them
rpm -e {package_name}
then re-compile and install the libraries, includeing php.
Chris Lee
Mediawaveonline.com
In article <NDBBKCOIKLNCIIJKLPHJKEOCEJAA.marcswanson@mediaone.net>,
marcswanson@mediaone.net wrote:
>> Hi! Have you compiled
>> ./configure -with-gd --with-jpeg-dir ...
>> make make install and also don"t forget to restart apache kill -s USR1
>>
cat /var/run/httpd.pid
>> (gracefull-restart is my favourite)
>>
>> Also only compiling the jpeglib isn't enough, you have to recompile the
>> GDlib and further you'll need the zlib. Refer to
>> http://www.boutell.com/gd/ for the gdlib.
>
>
> Yes, I followed all of those steps as well, and I bet Michael did as
> well. I have compiled and re-compiled all involved packages with no
> change in the outcome. I'm really lost here.
>
> To see my server configuration, check out
> http://www.mswanson.com/test/phpinfo.php (Note: Why is it
> that PHPINFO
> doesn't tell you if JPEG support is enabled?? it only says if png and
> WBMP formats are enabled???)
>
> The test code I've been using to see if imagecreatefromjpeg is working
> is here: http://www.mswanson.com/test/thumbnail.php with the
> source
> code at http://www.mswanson.com/test/thumbnail.phps
>
>
> It would seem I am not alone with my troubles. This is on a Redhat 6.2
> linux distrobution.
>
>
> Thanks!
>
>
> -Marc-
>
>