php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31949 PHP5.0.3 Does not install with jpeg support
Submitted: 2005-02-13 04:46 UTC Modified: 2005-02-13 22:53 UTC
From: shadda at gmail dot com Assigned:
Status: Closed Package: GD related
PHP Version: 5.0.3 OS: Debian Linux
Private report: No CVE-ID: None
 [2005-02-13 04:46 UTC] shadda at gmail dot com
Description:
------------
Hello.
  On a clean install of my debian system, I attempted to install php5.0.3. Here is my configuration line:

./configure --with-apxs2=/var/www/bin/apxs --with-mysql --with-gd --with-zlib --with-zlib-dir=/usr/include/zlib.h --with-libxml=/usr/local/bin --with-imap=/usr/bin/imap --with-imap-ssl=/usr --with-curl=/home/shadda/curl-7.13.0 --enable-exif --with-jpeg-dir=/home/shadda/php-5.0.3/jpeg-6b                                              

My --with-jpeg-dir line has changed many times while tracking this bug, but the interesting thing is that it never once failed. 

Checking my config.log *and* my makefile logs with a fine tooth comb told me that it was in fact attempting to compile with jpeg support, and could find no point at which this was failing. But after every make, make install, (and yes, I restarted/stop/started apache many, many times) I would discover in phpinfo(), that although the configure line at the top reflected any changes i had just made, JPG Support was not enabled, or even visible on the page (And of course, no JPEG functions would work, either).

I spent the better part of a day looking for ways around this. I deleted the config.cache file prior to configuring, and a large amount of other more obscure workarounds but just could *not* get it to go. Even after installing a snapshot i had on hand, it would not work. I searched around bugs.php.net thoroughly but have not found a bug report related this this.

I went back and got another snapshot release of 5.0.3, snapshot release php5-200502130130. I ran that same configure line from above, make, make install, restarted apache, and now i have JPG support. 

I've solved it on my system, but felt I should report this nevertheless. Thankyou.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-02-13 04:53 UTC] Shadda at gmail dot com
And yes, I realize I submitted a bug report on a problem that's already been fixed.

My reasoning is that since there were no prior reports it was worth mentioning.
 [2005-02-13 22:53 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 04 22:01:33 2024 UTC