#40315 [Opn->Fbk]: Apache crashes with PHP

From: Date: Fri, 02 Feb 2007 08:42:26 +0000
Subject: #40315 [Opn->Fbk]: Apache crashes with PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108318@lists.php.net to get a copy of this message
ID: 40315 Updated by: tony2001@php.net Reported By: cpf at airenet dot com -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Windows XP PHP Version: 5.2.0 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2007-02-02 03:49:32] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40315&edit=1

« previous php.bugs (#108318) next »