|
[PHP-INSTALL] GD causes Apache Segmentation fault w/ PHP 4.3.9, Apache 2, R: msg#00094php.install
I have installed PHP 4.3.9 on RedHat AS with Apache 2. Any script that accesses gd related functions causes the httpd process to die with this error: [notice] child pid 30391 exit signal Segmentation fault (11). Phpinfo shows gd version as "bundled (2.0.28 compatible)". All other php pages are working fine. Here is the config: ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr --with-gd --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-ttf --with-pdflib=/usr/local --with-mcrypt=/usr --with-curl --with-openssl Here is a sample script I used: <? header ("Content-type: image/png"); $im = @ImageCreate (50, 100) or die ("Cannot Initialize new GD image stream"); $background_color = ImageColorAllocate ($im, 255, 255, 255); $text_color = ImageColorAllocate ($im, 233, 14, 91); ImageString ($im, 1, 5, 5, "A Simple Text String", $text_color); ImagePng ($im); ?> I also tried building GD 2 from source and forcing PHP to compile against those headers under /usr/local/ but php make died with some errors related to undefined gd* functions. If it matters, I installed libjpeg-devel-6b-30 and libpng-devel-1.2.2 RPMs before building php. I'm at a loss and this issue is delaying our launch window for an important new product that uses jpgraph (thus gd) so any help will be greatly appreciated! Thanks. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: [PHP-INSTALL] Help on Install PHP 5.0.6 on IIS 6: 00094, Scott Hamm |
|---|---|
| Next by Date: | Re: [PHP-INSTALL] GD causes Apache Segmentation fault w/ PHP 4.3.9, Apache 2, RedHat AS: 00094, Chris Hewitt |
| Previous by Thread: | [PHP-INSTALL] Help on Install PHP 5.0.6 on IIS 6i: 00094, Tang, Alan |
| Next by Thread: | Re: [PHP-INSTALL] GD causes Apache Segmentation fault w/ PHP 4.3.9, Apache 2, RedHat AS: 00094, Chris Hewitt |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |