Hello All,
Upgraded PHP from 4.1.2 with GD1.8.x to PHP 4.2.2. Now GD calls result in a segfault. I have tried rebuilding it a number of time but GD just doesn't want to come to the party.
PHP was built exactly the same as 4.1.2. and against the same libraries.
My config statement
'./configure' \
'--with-mysql=/usr/local/mysql' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-ming=/usr/local/src/ming-0.2a' \
'--with-gd=/usr/local/src/gd' \
'--with-png-dir=/usr/local/src/libpng' \
'--with-jpeg-dir=/usr/local/src/jpeg-6b' \
'--with-dom' \
'--with-zlib' \
'--with-imap-dir=/usr/local/src/imap' \
'--with-imap' \
'--with-java=/usr/local/j2sdk1.4.0' \
'--with-zend' \
'--with-pdf' \
'--with-pdflib=/usr/local' \
'--enable-shared-pdflib' \
'--with-xml' \
'--enable-xslt' \
'--with-xslt-sablot' \
'--enable-gd-native-ttf' \
'--enable-ftp' \
'--enable-track-vars' \
All builds fine.
When a customer php script attempts to generate a JPEG image I get this in the apache error logs.
[Tue Aug 20 17:13:01 2002] [notice] child pid 553 exit signal Segmentation fault (11)
VERY FRUSTRATING
My libs line from the GD Makefile
LIBS=libgd.a -lpng -lz -ljpeg -lm
Anyone else having grief with PHP4.2.2?
Anyone got any ideas on where to look?
regards,
Steve Kelly