Edit report at https://bugs.php.net/bug.php?id=65279&edit=1
ID: 65279 Updated by: a...@php.net Reported by: craiga at wvhmhc dot org Summary: Apache crashes if ext=php_snmp.dll is used -Status: Open +Status: Feedback Type: Bug Package: Apache2 related Operating System: Win Serv 2008 R2 PHP Version: 5.4.14 -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: Here's the path to debug symbols http://windows.php.net/downloads/releases/archives/ Previous Comments: ------------------------------------------------------------------------ [2013-07-18 18:59:19] craiga at wvhmhc dot org I do believe the Apache is from the lounge... I wanted the VC9 version. The dll is there, as evidenced by the fact that command-line PHP runs. I'll need some help to make a back trace. Most of the links on http://bugs.php.net/bugs-generating-backtrace-win32.php are broken. Where can the debug pack for 5.4.14 be found? Here is the Apache log for a normal start on my server: [Wed Jul 17 11:17:35.707265 2013] [core:notice] [pid 3792:tid 276] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24' [Wed Jul 17 11:17:35.707265 2013] [mpm_winnt:notice] [pid 3792:tid 276] AH00418: Parent: Created child process 1436 [Wed Jul 17 11:17:36.081672 2013] [mpm_winnt:notice] [pid 1436:tid 428] AH00354: Child: Starting 64 worker threads. and with the attempt to use snmp: [Wed Jul 17 11:14:49.049260 2013] [core:notice] [pid 2976:tid 276] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24' [Wed Jul 17 11:14:49.049260 2013] [mpm_winnt:notice] [pid 2976:tid 276] AH00418: Parent: Created child process 2316 [Wed Jul 17 11:14:49.423667 2013] [mpm_winnt:notice] [pid 2316:tid 428] AH00354: Child: Starting 64 worker threads. [Wed Jul 17 11:17:19.342550 2013] [mpm_winnt:notice] [pid 2976:tid 276] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Wed Jul 17 11:17:21.370589 2013] [mpm_winnt:notice] [pid 2316:tid 428] AH00364: Child: All worker threads have exited. [Wed Jul 17 11:17:21.386189 2013] [mpm_winnt:notice] [pid 2976:tid 276] AH00430: Parent: Child process 2316 exited successfully. Not a thing in php_errors.log or system event logs. ------------------------------------------------------------------------ [2013-07-18 05:36:19] paj...@php.net Are you sure it actually crashes or complain about some DLLs not found? ------------------------------------------------------------------------ [2013-07-17 21:24:16] a...@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Which apache build do you use? We only support those from apachelounge.com . ------------------------------------------------------------------------ [2013-07-17 18:15:23] craiga at wvhmhc dot org Corrected PHP version. Originally picked 5.4.17 ------------------------------------------------------------------------ [2013-07-17 15:59:08] craiga at wvhmhc dot org Description: ------------ I followed the instructions, and PHP works on the command line: partial phpinfo() output: snmp NET-SNMP Support => enabled NET-SNMP Version => 5.4.2.1 PHP SNMP Version => 0.1 but Apache (ver 2.4) crashes with no clue in the logs every time I try to restart it with SNMP enabled in PHP. Test script: --------------- N/A Expected result: ---------------- N/A Actual result: -------------- N/A ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65279&edit=1