php.net |  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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bjorn dot nilsson at itech dot se
New email:
PHP Version: OS:

 

 [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 http://shanx.com/php/install_win32.txt

Regards 

Bj?rn


Patches

Pull Requests

History

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.

bj?rn
 [2000-10-30 13:23 UTC] 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-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.

Bj?rn
 [2000-12-07 11:54 UTC] sniper@php.net
Please try latest build from http://www.php4win.de/
and reopen this bug report if Apache still crashes.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC