#40315 [Fbk-Csd]: Apache crashes with PHP

2007-02-03 Thread cpf at airenet dot com
 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 PROTECTED]

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-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 0x0014. 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=40315edit=1


#40315 [NEW]: Apache crashes with PHP

2007-02-01 Thread cpf at airenet dot com
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 0x0014. 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 http://bugs.php.net/?id=40315edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=40315r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=40315r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=40315r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=40315r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=40315r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=40315r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=40315r=needscript
Try newer version:http://bugs.php.net/fix.php?id=40315r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=40315r=support
Expected behavior:http://bugs.php.net/fix.php?id=40315r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=40315r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=40315r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=40315r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=40315r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=40315r=dst
IIS Stability:http://bugs.php.net/fix.php?id=40315r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=40315r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=40315r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=40315r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=40315r=mysqlcfg