PHP :: Bug #47757 :: JPG vs JPEG
| Bug #47757 | JPG vs JPEG | ||||
|---|---|---|---|---|---|
| Submitted: | 2009-03-24 09:35 UTC | Modified: | 2009-03-24 09:46 UTC | ||
| From: | frank at scriptzone dot nl | Assigned: | pajoye (profile) | ||
| Status: | Closed | Package: | GD related | ||
| PHP Version: | 5.2.9 | OS: | Any | ||
| Private report: | No | CVE-ID: | None | ||
[2009-03-24 09:35 UTC] frank at scriptzone dot nl
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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2009-03-24 09:46 UTC] pajoye@php.net
[2011-03-08 22:37 UTC] test at test dot com