Ask a Question related to PHP Bugs, Design and Development.
-
cpf at airenet dot com #1
#40315 [NEW]: Apache crashes with PHP
From: cpf at airenet dot com
Operating system: Windows XP
PHP version: 5.2.0
PHP Bug Type: Apache2 related
Bug description: Apache crashes with PHP
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 bug report at [url]http://bugs.php.net/?id=40315&edit=1[/url]
--
Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40315&r=trysnapshot44[/url]
Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40315&r=trysnapshot52[/url]
Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40315&r=trysnapshot60[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40315&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=40315&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=40315&r=needtrace[/url]
Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40315&r=needscript[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=40315&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=40315&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=40315&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=40315&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=40315&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=40315&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40315&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=40315&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=40315&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40315&r=gnused[/url]
Floating point limitations: [url]http://bugs.php.net/fix.php?id=40315&r=float[/url]
No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40315&r=nozend[/url]
MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40315&r=mysqlcfg[/url]
cpf at airenet dot com Guest
-
#39005 [NEW]: Apache/PHP crashes
From: php at edwardk dot info Operating system: Windows 2003 PHP version: 4CVS-2006-09-30 (snap) PHP Bug Type: Apache related... -
#39636 [NEW]: PHP 5.2.0 crashes Apache 2.2.3
From: dj02 dot net at nbl dot fi Operating system: Windows XP PRO SP2 (5.1.2600) PHP version: 5.2.0 PHP Bug Type: ... -
#39476 [Opn]: Apache 2.2.3/PHP 5.2.0/JpGraph 2.1.3 crashes Apache
ID: 39476 User updated by: digdug3 at zonnet dot nl -Summary: Apache 2.2.3/PHP 5.2.0/JpGrahp 2.1.3 crashed apache Reported... -
#24964 [Bgs]: Apache crashes!, for no reson
ID: 24964 User updated by: jorge at jorge dot be -Reported By: Jorge at jorge dot be +Reported By: jorge at jorge dot be... -
#24964 [Opn->Bgs]: Apache crashes!, for no reson
ID: 24964 Updated by: sniper@php.net Reported By: Jorge at jorge dot be -Status: Open +Status: Bogus... -
tony2001@php.net #2
#40315 [Opn->Fbk]: Apache crashes with PHP
ID: 40315
Updated by: [email]tony2001@php.net[/email]
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:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
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 [url]http://bugs.php.net/?id=40315&edit=1[/url]
tony2001@php.net Guest
-
cpf at airenet dot com #3
#40315 [Fbk->Csd]: Apache crashes with PHP
ID: 40315
User updated by: cpf at airenet dot com
Reported By: cpf at airenet dot com
-Status: Feedback
+Status: Closed
Bug Type: Apache2 related
Operating System: Windows XP
PHP Version: 5.2.0
New Comment:
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)
Previous Comments:
------------------------------------------------------------------------
[2007-02-02 08:42:26] [email]tony2001@php.net[/email]
Please try using this CVS snapshot:
[url]http://snaps.php.net/php5.2-latest.tar.gz[/url]
For Windows:
[url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]
------------------------------------------------------------------------
[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 [url]http://bugs.php.net/?id=40315&edit=1[/url]
cpf at airenet dot com Guest



Reply With Quote

