From: shadda at gmail dot com Operating system: Debian Linux PHP version: 5.0.3 PHP Bug Type: GD related Bug description: PHP5.0.3 Does not install with jpeg support
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. -- Edit bug report at http://bugs.php.net/?id=31949&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31949&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31949&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31949&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31949&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31949&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31949&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31949&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31949&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31949&r=support Expected behavior: http://bugs.php.net/fix.php?id=31949&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31949&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31949&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31949&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31949&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31949&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31949&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31949&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31949&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31949&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31949&r=mysqlcfg