php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21048 Fails to detect lack of GIF support
Submitted: 2002-12-16 11:08 UTC Modified: 2002-12-16 11:21 UTC
From: wildfyr9 at hotmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: Cobalt Linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: wildfyr9 at hotmail dot com
New email:
PHP Version: OS:

 

 [2002-12-16 11:08 UTC] wildfyr9 at hotmail dot com
configure does not properly detect lack of GIF support in libgd 1.2 shipped on Cobalt RaQ4 servers. This can be easily fixed AFTER config is run by applying this patch to main/php_config.h:

*** main/php_config.h.4.2.3     Mon Dec 16 18:02:12 2002
--- main/php_config.h   Mon Dec 16 18:03:10 2002
***************
*** 1204,1213 ****
  /* #undef HAVE_GD_PNG */

  /*   */
! #define HAVE_GD_GIF_READ 1

  /*   */
! #define HAVE_GD_GIF_CREATE 1

  /*   */
  /* #undef HAVE_GD_WBMP */
--- 1204,1213 ----
  /* #undef HAVE_GD_PNG */

  /*   */
! /* #undef HAVE_GD_GIF_READ 1 */

  /*   */
! /* #undef HAVE_GD_GIF_CREATE 1 */

  /*   */
  /* #undef HAVE_GD_WBMP */

PHP was configured with this:

./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --enable-track-vars --with-iconv --enable-xml --disable-debug --with-gd --enable-mbstring --enable-mbstr-enc-trans --with-interbase=shared --with-pgsql=shared --with-ldap --with-imap --with-mysql=/usr




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-16 11:21 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

If you must use GD 1.X use 1.8.4, PHP 4.3.0 already comes with  bundled GD library that has been tested & works properly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 05:01:31 2024 UTC