PHP 4.0 Bug #2219: include() crashes Apache using apxs

From: Date: Thu, 02 Sep 1999 16:01:24 +0000
Subject: PHP 4.0 Bug #2219: include() crashes Apache using apxs
Groups: php.dev 
Request: Send a blank email to php-dev+get-10454@lists.php.net to get a copy of this message
From: shadowb@primenet.com Operating system: RedHat 6.0 / E-commerce PHP version: 4.0 Beta 2 PHP Bug Type: Reproduceable crash Bug description: include() crashes Apache using apxs I have compiled PHP4 as a DSO object using apxs (Note: this is on "RedHat Secure Server 3.0" which is Apache 1.3.6 w/ mod_ssl), and if I use the include() or require() function the following message appears in the error_log for apache: [Wed Sep 1 17:13:09 1999] [notice] child pid 9045 exit signal Segmentation fault And the browser recieved an error stating Document contains no data. If I use any script that doesn't call include, the script executes fine. For Example: index.php: <? include("test.php"); ?> test.php: <? print("Testing..."); ?> This would crash... but index.php: <? print("Testing..."); ?> outputs just fine...

« previous php.dev (#10454) next »