php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40315 Apache crashes with PHP
Submitted: 2007-02-02 03:49 UTC Modified: 2007-02-03 16:22 UTC
From: cpf at airenet dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 5.2.0 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cpf at airenet dot com
New email:
PHP Version: OS:

 

 [2007-02-02 03:49 UTC] cpf at airenet dot com
Description:
------------
The problem is when I load *any* PHP page apache gives by an error ()immediately followed by a "http.exe has encountered a problem..." and apache crashes.

More info:
Config line: 	cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared"
My setup it Apache 2.2.4 with PHP 5.2.0
When running the auto-setup for apache 2.2.x module the PHP install "terminates prematurely", but the files are there. After manually configuring httpd.conf for apache 2.2 (LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php), yes it is installed there.

I attempted to make a backtrace, but php never crashes.

Reproduce code:
---------------
<?php phpinfo();?>

Expected result:
----------------
Normal PHPINFO() output

Actual result:
--------------
This is the error window that pops up on the server:
The instruction at 0x008074cd referenced memory at 0x00000014. The memory could not be "read"

And in the Apache log:

[Thu Feb 01 19:36:08 2007] [notice] Child 1768: Child process is running
[Thu Feb 01 19:36:08 2007] [notice] Child 1768: Acquired the start mutex.
[Thu Feb 01 19:36:08 2007] [notice] Child 1768: Starting 250 worker threads.
[Thu Feb 01 19:36:08 2007] [notice] Child 1768: Starting thread to listen on port 80.
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
[Thu Feb 01 19:36:14 2007] [notice] Parent: child process exited with status 3221225477 -- Restarting.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-02 08:42 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2007-02-03 16:22 UTC] cpf at airenet dot com
Never Mind, after re-fixing the "auto config" script's configurations, it works.
(you have to use forward slashes and add one to every extension)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 15:01:56 2024 UTC