Upgrade help!
| From: | PHP List | Date: | Wed, 08 Jan 2003 00:34:23 +0000 |
| Subject: | Upgrade help! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-130670@lists.php.net to get a copy of this message | ||
Hi,
I am trying to upgrade to php4.3.0, everything works, but when I try to use any gd image functions I
get the following error:
libpng warning: Application was compiled with png.h from libpng-1.2.1
libpng warning: Application is running with png.c from libpng-1.0.12
gd-png: fatal libpng error: Incompatible libpng version in application and library
[Tue Jan 7 16:30:21 2003] [notice] child pid 14014 exit signal Segmentation fault (11)
I downloaded and installed libpng-1.2.1
I configured php with:
./configure' '--with-jpeg-dir=../jpeg-6b' '--with-mysql=/usr/'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-gd'
'--with-mcrypt=../libmcrypt-2.4.22' '--with-png-dir=../libpng-1.2.1'
'--with-zlib-dir=../zlib-1.1.3' '--enable-exif'
'--with-freetype-dir=../freetype-2.1.3'
Where is is getting the libpng-1.0.12 from? I can't find it anywhere on the server.
I am using apache 1.3.27 on redhat 7
Thanks for any help.