PHP 4.0 Bug #7340 Updated: Apache scripting engine crashes

From: Date: Thu, 07 Dec 2000 16:54:45 +0000
Subject: PHP 4.0 Bug #7340 Updated: Apache scripting engine crashes
Groups: php.dev 
Request: Send a blank email to php-dev+get-40452@lists.php.net to get a copy of this message
ID: 7340 Updated by: sniper Reported By: bjorn.nilsson@itech.se Status: Closed Bug Type: Apache related Assigned To: Comments: Please try latest build from http://www.php4win.de/ and reopen this bug report if Apache still crashes. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-10-31 08:28:36] bjorn.nilsson@itech.se I've tried with mssql70.dll, gd.dll and java.dll. They all make Apache take a dive. IIS doesn't seem to behave badly, but my primary reason for wanting to use Apache is that I want to move applications from my test-server to a Linux web-hotel. Björn --------------------------------------------------------------------------- [2000-10-30 13:23:04] dbeu@php.net 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. --------------------------------------------------------------------------- [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 (#40452) next »