#32839 [NEW]: php 4.3.11 + zlib 1.2.2 + GD library
| From: | fev at ukrti dot com dot ua | Date: | Tue, 26 Apr 2005 12:32:13 +0000 |
| Subject: | #32839 [NEW]: php 4.3.11 + zlib 1.2.2 + GD library | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78209@lists.php.net to get a copy of this message | ||
From: fev at ukrti dot com dot ua
Operating system: Red Hat 7.3 kernel 2.6.3
PHP version: 4.3.11
PHP Bug Type: GD related
Bug description: php 4.3.11 + zlib 1.2.2 + GD library
Description:
------------
My Previous configuration:
Apache 1.3.33
PHP 4.3.10
Zlib 1.2.1
GD 2.0.33 or bundled version
MySQL 4.0.24
I want to update in my system
PHP 4.3.11
Zlib 1.2.2
And if possible GD 2.0.33 external library.
First i clear my system from old Zlib library (/usr/lib, /usr/local/lib,
/usr/include, /usr/local/include )
and then compile zlib with static and shared libraries in /usr.
Now in my system: ldconfig -v said
libz.so.1 -> libz.so.1.2.2
and /usr/lib has
-rwxr-xr-x 1 root root 74672 Apr 25 23:35 libz.a
lrwxr-xr-x 1 root root 13 Apr 25 23:35 libz.so ->
libz.so.1.2.2
lrwxr-xr-x 1 root root 13 Apr 25 23:35 libz.so.1 ->
libz.so.1.2.2
-rwxr-xr-x 1 root root 71919 Apr 25 23:35 libz.so.1.2.2
/usr/include has headers source files Zlib 1.2.2.
Then i compile my ordinary configuration like this:
'./configure'
'--prefix=/usr/local/php-4.3.11'
'--with-config-file-path=/usr/local/php-4.3.11'
'--with-mysql=/usr/local/mysql'
'--with-mysql-sock=/usr/local/mysql/mysql.sock'
'--with-zlib=/usr'
'--with-gd' '--with-zlib-dir=/usr'
'--with-jpeg-dir=/usr/local'
'--with-png-dir=/usr/local/libpng-1.2.8'
'--with-freetype-dir=/usr/local/freetype2'
'--with-ttf' '--enable-gd-native-ttf'
'--with-apache=/src/apache/apache_1.3.33'
In console php said
#/usr/local/php-4.3.11/bin/php -i
GD Support => enabled
GD Version => bundled (2.0.28 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
GIF Read Support => enabled
GIF Create Support => enabled
JPG Support => enabled
PNG Support => enabled
WBMP Support => enabled
XBM Support => enabled
ZLib Support => enabled
Compiled Version => 1.2.2
Linked Version => 1.2.2
BUT phpinfo() in Apache said:
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.1
It's looks very strange.
I have done many compilings and discovered this:
If i exclude GD parameters from configure (don't matter bundled version or
external) i get:
'./configure'
'--prefix=/usr/local/php-4.3.11'
'--with-config-file-path=/usr/local/php-4.3.11'
'--with-mysql=/usr/local/mysql'
'--with-mysql-sock=/usr/local/mysql/mysql.sock'
'--with-zlib=/usr'
'--with-apache=/src/apache/apache_1.3.33'
console php said
#/usr/local/php-4.3.11/bin/php -i
ZLib Support => enabled
Compiled Version => 1.2.2
Linked Version => 1.2.2
AND phpinfo() in Apache said:
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.2
Can u comment this ???
I don't know how to classify this. Bug? Error Compile? Something else???
Maybi this is Error of budled GD library with Zlib 1.2.1 library?
And also why GD bundled library from 4.3.10 PHP DON'T SYNCHRONIZE in
4.3.11 PHP with actual GD library 2.0.33???
--
Edit bug report at http://bugs.php.net/?id=32839&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32839&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32839&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32839&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32839&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32839&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32839&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32839&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32839&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32839&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32839&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32839&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32839&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32839&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32839&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32839&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32839&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32839&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32839&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32839&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32839&r=mysqlcfg