php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29371 php does not have gif support when compiled against gd 2.0.28
Submitted: 2004-07-25 05:57 UTC Modified: 2004-07-25 19:19 UTC
From: edman007x at mac dot com Assigned:
Status: Closed Package: GD related
PHP Version: 4.3.8 OS: Slackware-current
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: edman007x at mac dot com
New email:
PHP Version: OS:

 

 [2004-07-25 05:57 UTC] edman007x at mac dot com
Description:
------------
i downloaded gd 2.0.28 and compiled it, it has gif support, then i compiled php againt it, but php did not hav gif support

-----proof that gd has gif support
edman007@mr-slack:~$ /usr/local/gd/bin/gdlib-config --all
GD library  2.0.28
includedir: /usr/local/gd/include
cflags:     -I/usr/local/gd/include
ldflags:      -L/usr/lib -Wl,-rpath,/usr/lib  -L/usr/X11R6/lib
libs:       -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm
libdir:     /usr/local/gd/lib
features:   GD_XPM GD_JPEG GD_FREETYPE GD_PNG GD_GIF




----my configure command
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-mysql' '--with-bz2' '--with-gd=/usr/local/gd' '--enable-ftp' '--with-mysql-sock' '--with-ttf' '--with-freetype-dir' '--with-t1lib' '--enable-calendar' '--with-jpeg-dir' '--with-png-dir' '--prefix=/usr/local/php' '--exec-prefix=/usr/local/php' '--with-zlib' '--disable-cgi' '--with-curl' '--with-openssl'

Reproduce code:
---------------
var_dump(gd_info());

Expected result:
----------------
should show that there is gif read and write support

Actual result:
--------------
shows that there is no gif support

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-25 08:42 UTC] milan dot kerslager at pslib dot cz
You have to patch PHP to get back GIF support. There is one patch available here:

http://hyvatti.iki.fi/~jaakko/sw/

It seems that there are waiting patches in CVS. Afer QA they (possibly) will be included in the next release of PHP.
 [2004-07-25 19:19 UTC] iliaa@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.

gif support will be in the next release, it was already 
added to CVS. 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 04:01:31 2024 UTC