Bug #66204 [Com]: disabling XPM support in GD still enables gdImageCreateFromXpm() for PHP
Edit report at https://bugs.php.net/bug.php?id=66204&edit=1
ID: 66204
Comment by: matthias dot bothe at freenet dot de
Reported by: rob dot de dot langhe at twistfare dot be
Summary: disabling XPM support in GD still enables
gdImageCreateFromXpm() for PHP
Status: Not a bug
Type: Bug
Package: GD related
Operating System: Solaris-10
PHP Version: 5.5.6
Block user comment: N
Private report: N
New Comment:
Got the same issue compiling php 7.1.32 from scratch for my old nas.
Workaround from 'uncle dot ziba at gmail dot com' worked for me, but IMHO this needs to be
fixed.
Previous Comments:
------------------------------------------------------------------------
[2019-05-24 18:00:41] admin at inwebse dot com
Up. Problem is still here. PHP version is 7.3.5.
------------------------------------------------------------------------
[2015-07-07 02:58:59] uncle dot ziba at gmail dot com
Ran into this as well with version 5.6.10 on AIX. I wonder if there is a more reliable way for the
configure script to determine if the GD library has xmp support.
workaround in the main/php_config.h comment out:
#define HAVE_GD_XPM 1
make clean; make
------------------------------------------------------------------------
[2015-06-20 00:27:50] iggyvolz at gmail dot com
This bug is still in PHP - it is impossible to install with GD without libXpm, as PHP will always
report that it is installed even if it is not. My workaround was to edit ext/gd/gd.c and remove all
code that depended on HAVE_GD_XPM.
------------------------------------------------------------------------
[2013-11-30 13:02:38] rob dot de dot langhe at twistfare dot be
If you consider this not to be a bug, where do you want me to report this (at least incorrect)
behaviour ?
------------------------------------------------------------------------
[2013-11-29 17:29:59] pajoye@php.net
right, but you get the error in userland too.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=66204
--
Edit this bug report at https://bugs.php.net/bug.php?id=66204&edit=1
Thread (8 messages)