Bug #71244 [Fbk]: Apache restart on session_start()

From: Date: Thu, 07 Jan 2016 03:00:46 +0000
Subject: Bug #71244 [Fbk]: Apache restart on session_start()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-198470@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71244&edit=1

 ID:                 71244
 Updated by:         yohgaki@php.net
 Reported by:        bugs dot php dot net at hellbringer dot pw
 Summary:            Apache restart on session_start()
 Status:             Feedback
 Type:               Bug
 Package:            Session related
 Operating System:   Windows 7 Enterprise 64bit
 PHP Version:        7.0.1
 Block user comment: N
 Private report:     N

 New Comment:

s/preform/prefork/


Previous Comments:
------------------------------------------------------------------------
[2016-01-07 02:59:36] yohgaki@php.net

It sounds windows only issue.
What is your save handler? 

It seems you're using ZTS (Threaded version) PHP. 
Do you see this issue on non-ZTS build? 
i.e. Use preform MPM to see the difference.

------------------------------------------------------------------------
[2016-01-04 08:59:53] ifihear at gmail dot com

I experience this issue too on the same version with window 8.1 on Xampp

------------------------------------------------------------------------
[2016-01-01 08:57:55] bdt600 at gmx dot de

Same problem with

http://windows.php.net/downloads/releases/php-7.0.1-Win32-VC14-x64.zip
and
http://www.apachelounge.com/download/VC14/binaries/httpd-2.4.18-win64-VC14.zip

on MS Windows 10 x64

------------------------------------------------------------------------
[2015-12-30 13:45:58] bugs dot php dot net at hellbringer dot pw

Windows event log:

Faulting application name: httpd.exe, version: 2.4.18.0, time stamp: 0x5667f02e
Faulting module name: php7ts.dll, version: 7.0.1.0, time stamp: 0x5671ed04
Exception code: 0xc0000005
Fault offset: 0x0001ac04
Faulting process id: 0x7258
Faulting application start time: 0x01d142eb6e3a57c2
Faulting application path: C:\xampp\apache\bin\httpd.exe
Faulting module path: C:\xampp\php\php7ts.dll
Report Id: b45419ad-aede-11e5-975c-005056c00008

------------------------------------------------------------------------
[2015-12-30 10:38:32] bugs dot php dot net at hellbringer dot pw

Description:
------------
Apache restarts always when session_start() is called.

"child process 29272 exited with status 3221225477 -- Restarting"

PHP is running as Apache module.

Using standard installation of XAMPP 7.0.0 with PHP 7.0.1 binaries from:

http://windows.php.net/downloads/releases/php-7.0.1-Win32-VC14-x86.zip


Got the same error with PHP 7.0.0



Versions:

Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.1

Microsoft Windows [Version 6.1.7601]


Apache log:

[Wed Dec 30 11:18:30.449512 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00455: Apache/2.4.18
(Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Wed Dec 30 11:18:30.449512 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00456: Apache Lounge VC14
Server built: Dec  9 2015 10:17:39
[Wed Dec 30 11:18:30.449512 2015] [core:notice] [pid 25552:tid 300] AH00094: Command line:
'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Dec 30 11:18:30.517015 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00418: Parent: Created
child process 29272
[Wed Dec 30 11:18:31.744568 2015] [mpm_winnt:notice] [pid 29272:tid 312] AH00354: Child: Starting
150 worker threads.
[Wed Dec 30 11:18:45.882692 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00428: Parent: child
process 29272 exited with status 3221225477 -- Restarting.
[Wed Dec 30 11:18:46.707228 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00455: Apache/2.4.18
(Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Wed Dec 30 11:18:46.707228 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00456: Apache Lounge VC14
Server built: Dec  9 2015 10:17:39
[Wed Dec 30 11:18:46.707228 2015] [core:notice] [pid 25552:tid 300] AH00094: Command line:
'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Dec 30 11:18:46.770732 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00418: Parent: Created
child process 13940
[Wed Dec 30 11:18:48.026289 2015] [mpm_winnt:notice] [pid 13940:tid 312] AH00354: Child: Starting
150 worker threads.
[Wed Dec 30 11:18:49.269343 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00428: Parent: child
process 13940 exited with status 3221225477 -- Restarting.
[Wed Dec 30 11:18:50.386891 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00455: Apache/2.4.18
(Win32) OpenSSL/1.0.2e PHP/7.0.1 configured -- resuming normal operations
[Wed Dec 30 11:18:50.386891 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00456: Apache Lounge VC14
Server built: Dec  9 2015 10:17:39
[Wed Dec 30 11:18:50.386891 2015] [core:notice] [pid 25552:tid 300] AH00094: Command line:
'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Wed Dec 30 11:18:50.451894 2015] [mpm_winnt:notice] [pid 25552:tid 300] AH00418: Parent: Created
child process 13548
[Wed Dec 30 11:18:51.681948 2015] [mpm_winnt:notice] [pid 13548:tid 312] AH00354: Child: Starting
150 worker threads.

Test script:
---------------
<?php session_start();



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=71244&edit=1


Thread (10 messages)

« previous php.bugs (#198470) next »