#47757 [NEW]: JPG vs JPEG
| From: | frank at scriptzone dot nl | Date: | Tue, 24 Mar 2009 09:35:20 +0000 |
| Subject: | #47757 [NEW]: JPG vs JPEG | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-135043@lists.php.net to get a copy of this message | ||
From: frank at scriptzone dot nl
Operating system: Any
PHP version: 5.2.9
PHP Bug Type: GD related
Bug description: JPG vs JPEG
Description:
------------
I think inconsistent naming is quite annoying.
To compile GD with JPEG support you have to do something like ./configure
--with-gd --with-jpeg-dir. However in phpinfo pages JPEG support is
displayed as "JPG Support enabled".
So basicly, when I actually successfully compiled GD with JPEG-support: I
thought it failed because I was looking for "JPEG" in phpinfo, and not
"JPG".
Not quite an essential bug, but perhaps worth fixing in the future.
Reproduce code:
---------------
'./configure' '--prefix=/usr' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--with-apxs2=/usr/sbin/apxs'
'--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli'
'--with-zlib-dir=/usr' '--enable-exif' '--enable-ftp'
'--enable-mbstring'
'--enable-mbregex' '--enable-sockets' '--with-iodbc=/usr'
'--with-curl=/usr' '--with-config-file-path=/etc'
'--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql'
'--with-mysqli=/usr/local/mysql/bin/mysql_config'
'--with-mysql=/usr/local/mysql' '--with-openssl' '--with-xmlrpc'
'--with-xsl=/usr' '--without-pear' --with-jpeg-dir=/usr/local/lib/
--with-gd
Expected result:
----------------
JPEG support
Actual result:
--------------
JPG support
--
Edit bug report at http://bugs.php.net/?id=47757&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47757&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47757&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47757&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=47757&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47757&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=47757&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=47757&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=47757&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=47757&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=47757&r=support
Expected behavior: http://bugs.php.net/fix.php?id=47757&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=47757&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=47757&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=47757&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47757&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=47757&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=47757&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=47757&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=47757&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=47757&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=47757&r=mysqlcfg