#32839 [Bgs]: php 4.3.11 + zlib 1.2.2 + GD library
| From: | fev at ukrti dot com dot ua | Date: | Tue, 26 Apr 2005 13:18:59 +0000 |
| Subject: | #32839 [Bgs]: php 4.3.11 + zlib 1.2.2 + GD library | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-78225@lists.php.net to get a copy of this message | ||
ID: 32839
User updated by: fev at ukrti dot com dot ua
Reported By: fev at ukrti dot com dot ua
Status: Bogus
Bug Type: GD related
Operating System: Red Hat 7.3 kernel 2.6.3
PHP Version: 4.3.11
New Comment:
My system don't have old Zlib libz.a (static and shared) 1.2.1 library.
Only 1.2.2
BUT PHP take it from nowhere??? I don't understand this.
And this problem disappearing when i turn off parameters GD from
configure.
Previous Comments:
------------------------------------------------------------------------
[2005-04-26 15:12:21] fev at ukrti dot com dot ua
I am talking about this:
In console php with GD said
#/usr/local/php-4.3.11/bin/php -i
ZLib Support => enabled
Compiled Version => 1.2.2
Linked Version => 1.2.2
BUT phpinfo() in Apache said:
ZLib Support enabled
Compiled Version 1.2.2
Linked Version 1.2.1
....
Of course i recompile my MySQL 4.0.24.
Which parameter from configure wrong??? about ZLIB or about GD???
I said I have tried a lot of compiling and i used
'--with-zlib=/usr'
'--with-zlib=/usr/include'
'--with-zlib=/usr/local/zlib-1.2.2'
and do the same with
'--with-gd'
'--with-gd=/usr/local/gd-2.0.33'
And result is the same like first post all time when i try to compile.
------------------------------------------------------------------------
[2005-04-26 14:49:10] tony2001@php.net
.
------------------------------------------------------------------------
[2005-04-26 14:48:41] tony2001@php.net
What exactly looks strange? What are you talking about?
------------------------------------------------------------------------
[2005-04-26 14:47:56] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
You use wrong configure parameters.
------------------------------------------------------------------------
[2005-04-26 14:32:12] fev at ukrti dot com dot ua
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 this bug report at http://bugs.php.net/?id=32839&edit=1