PHP 4.0 Bug #7340 Updated: Apache scripting engine crashes

From: Date: Mon, 30 Oct 2000 18:23:04 +0000
Subject: PHP 4.0 Bug #7340 Updated: Apache scripting engine crashes
Groups: php.dev 
Request: Send a blank email to php-dev+get-36474@lists.php.net to get a copy of this message
ID: 7340 Updated by: dbeu Reported By: bjorn.nilsson@itech.se Status: Feedback Bug Type: Apache related Assigned To: Comments: please be more specific which extension(s) cause the crash. not all extenions are threadsafe and if you try to load an nonthreadsafe extension it'll surely crash. Previous Comments: --------------------------------------------------------------------------- [2000-10-24 09:24:50] bjorn.nilsson@itech.se Hi again! After reading some other bug reports, I found that disabling all extensions might prevent Apache from crashing. And it did. So in order to make this bug-report more precise, Apache still crashes if any module is enabled. björn --------------------------------------------------------------------------- [2000-10-19 08:44:51] bjorn.nilsson@itech.se I'm using Apache 1.3.14 with php 4.0.3pl1. I'm trying to run php as a module. When running any php script (including a simple phpinfo(); ) the php part seems to crash. (Normal html files does still work.) The strange thing is that the script is (at least partly) processed. I.e. in the phpinfo() case, the page looks normal, but a certain Dr. Watson comes up. If I instead use the built-in IIS, there's no problem so far. (Touch wood!) To the httpd.conf I've added: LoadModule php4_module modules/mod_php4/sapi/php4apache.dll AddType application/x-httpd-php .php4 .php3 .php .phtml AddType application/x-httpd-source .phps # The .dll does indeed exist in the directory pointed out above. I have also added the d:Apachemodules and the d:Apachemodulesmod_php4 directories to the path of the system. This method of using php as a module is described in http://shanx.com/php/install_win32.txt Regards Björn --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7340

« previous php.dev (#36474) next »