|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7340 Apache scripting engine crashes
Submitted: 2000-10-19 08:44 UTC Modified: 2000-12-07 11:54 UTC
From: bjorn dot nilsson at itech dot se Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.3pl1 OS: Win2000
Private report: No CVE-ID: None
 [2000-10-19 08:44 UTC] bjorn dot nilsson at itech dot 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:\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




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-24 09:24 UTC] bjorn dot nilsson at itech dot 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.

 [2000-10-30 13:23 UTC]
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-31 08:28 UTC] bjorn dot nilsson at itech dot 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.

 [2000-12-07 11:54 UTC]
Please try latest build from
and reopen this bug report if Apache still crashes.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 10:01:31 2024 UTC