Cannot output to browser but can on shell (Apache segfault 11)

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

When I run my script via the shell (e.g. "php test.php") the script
generates the correct output everytime. If I attempt to access the
script via the web (e.g. http://localhost/test.php), Apache reports a
   - [notice] child pid 11005 exit signal Segmentation fault (11)

Occasionally, the script will create vaild output to the browser (but
this is rare). If I stop the httpd service and run "httpd -X", the
script works flawlessly and Apache reports no errors.

PHP is working correctly -- simpler php applications and phpinfo(); can
generate valid output using the httpd service.

I am running:
   - Linux Fedora Core 3 (2.6.11-1.14_FC3)
   - Apache (Apache/2.0.52 (Fedora)) rebuilt RPM with oci8
(instantclient support)
   - PHP (4.3.11)
   - PEAR::DB (1.7.5)
   - Smarty PHP Template engine (2.6.9)

Thanks for the help!

Re: Cannot output to browser but can on shell (Apache segfault 11) wrote:
Quoted text here. Click to load it

You should debug trouble scripts step by step, increasing the functionallity
down the line.

Also, see if there are common extensions/functions used in scripts causing
the segmentation fault.



Site Timeline