PHP 4.0 Bug #7340: Apache scripting engine crashes
| From: | bjorn dot nilsson at itech dot se | Date: | Thu, 19 Oct 2000 12:44:51 +0000 |
| Subject: | PHP 4.0 Bug #7340: Apache scripting engine crashes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35527@lists.php.net to get a copy of this message | ||
From: bjorn.nilsson@itech.se
Operating system: Win2000
PHP version: 4.0.3pl1
PHP Bug Type: Apache related
Bug description: Apache scripting engine crashes
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:\Apache\modules and the d:\Apache\modules\mod_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
--
Edit Bug report at: http://bugs.php.net/?id=7340&edit=1