php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17349 Jpeg/Png not
Submitted: 2002-05-21 21:56 UTC Modified: 2002-05-22 03:10 UTC
From: dmj28 at student dot canterbury dot ac dot nz Assigned:
Status: Not a bug Package: GD related
PHP Version: 4.2.0 OS: FreeBSD
Private report: No CVE-ID: None
 [2002-05-21 21:56 UTC] dmj28 at student dot canterbury dot ac dot nz
I'm trying to run php with jpeg and png support. Everything goes fine, but the actual php scripts seem to think jpeg and png support is not available.

I have installed gd, jpeg and png already.

I configure php as follows:

- ./configure --with-gd --with-jpeg-dir=/usr/local/src/jpeg-6b --with-zlib --with-mysql=/usr/local/mysql --with-apache=/usr/local/src/apache_1.3.24 --with-png-dir=/usr/local/src/libpng-1.2.2

In the output of that I notice the following line:
gdImageCreateFromJpeg in -lgd... yes

compiling php works, as does compiling apache with the static php.

I don't know why, but the phpinfo() function returns:
Configure Command './configure' '--with-apache=/usr/local/src/apache_1.3.24' 

The above line is not the same as at the top of this script.

Any help would be appreciated. Thanks.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-22 03:10 UTC] sander@php.net
You should run 'make clean' before 'make' after you've reconfigured with a different configure line.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 07 02:01:30 2024 UTC