php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #80034 PHP8 crashes apache web server
Submitted: 2020-08-30 08:58 UTC Modified: 2020-09-20 04:22 UTC
From: celestinoxp at hotmail dot com Assigned:
Status: No Feedback Package: Apache2 related
PHP Version: master-Git-2020-08-30 (snap) OS: Windows10
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: celestinoxp at hotmail dot com
New email:
PHP Version: OS:

 

 [2020-08-30 08:58 UTC] celestinoxp at hotmail dot com
Description:
------------
I have php8 version snap compilation (https://github.com/shivammathur/php-builder-windows), and when i uses phpmyadmin, apache restarts several times.

the php_error_log is empty, but apache error log says:

[Sun Aug 30 09:50:31.295092 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00428: Parent: child process 4740 exited with status 3221225477 -- Restarting.
[Sun Aug 30 09:50:31.365804 2020] [ssl:warn] [pid 7072:tid 648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:31.400846 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/8.0.0-dev configured -- resuming normal operations
[Sun Aug 30 09:50:31.400846 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00456: Apache Lounge VS16 Server built: Aug  2 2020 10:21:32
[Sun Aug 30 09:50:31.400846 2020] [core:notice] [pid 7072:tid 648] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Aug 30 09:50:31.405835 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00418: Parent: Created child process 11280
[Sun Aug 30 09:50:31.891090 2020] [ssl:warn] [pid 11280:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:31.937960 2020] [ssl:warn] [pid 11280:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:31.972953 2020] [mpm_winnt:notice] [pid 11280:tid 660] AH00354: Child: Starting 150 worker threads.
[Sun Aug 30 09:50:34.168493 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00428: Parent: child process 11280 exited with status 3221225477 -- Restarting.
[Sun Aug 30 09:50:34.236134 2020] [ssl:warn] [pid 7072:tid 648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:34.277734 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/8.0.0-dev configured -- resuming normal operations
[Sun Aug 30 09:50:34.277734 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00456: Apache Lounge VS16 Server built: Aug  2 2020 10:21:32
[Sun Aug 30 09:50:34.277734 2020] [core:notice] [pid 7072:tid 648] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Aug 30 09:50:34.277734 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00418: Parent: Created child process 12100


With php7.4 it works fine...



Test script:
---------------
Install php8 (by https://github.com/shivammathur/php-builder-windows)

Open and navigate in phpmyadmin...

Click refresh (and apache start to restart)

Actual result:
--------------
Apache error log:

[Sun Aug 30 09:50:31.295092 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00428: Parent: child process 4740 exited with status 3221225477 -- Restarting.
[Sun Aug 30 09:50:31.365804 2020] [ssl:warn] [pid 7072:tid 648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:31.400846 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/8.0.0-dev configured -- resuming normal operations
[Sun Aug 30 09:50:31.400846 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00456: Apache Lounge VS16 Server built: Aug  2 2020 10:21:32
[Sun Aug 30 09:50:31.400846 2020] [core:notice] [pid 7072:tid 648] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Aug 30 09:50:31.405835 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00418: Parent: Created child process 11280
[Sun Aug 30 09:50:31.891090 2020] [ssl:warn] [pid 11280:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:31.937960 2020] [ssl:warn] [pid 11280:tid 660] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:31.972953 2020] [mpm_winnt:notice] [pid 11280:tid 660] AH00354: Child: Starting 150 worker threads.
[Sun Aug 30 09:50:34.168493 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00428: Parent: child process 11280 exited with status 3221225477 -- Restarting.
[Sun Aug 30 09:50:34.236134 2020] [ssl:warn] [pid 7072:tid 648] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Aug 30 09:50:34.277734 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00455: Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/8.0.0-dev configured -- resuming normal operations
[Sun Aug 30 09:50:34.277734 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00456: Apache Lounge VS16 Server built: Aug  2 2020 10:21:32
[Sun Aug 30 09:50:34.277734 2020] [core:notice] [pid 7072:tid 648] AH00094: Command line: 'c:\\xampp\\apache\\bin\\httpd.exe -d C:/xampp/apache'
[Sun Aug 30 09:50:34.277734 2020] [mpm_winnt:notice] [pid 7072:tid 648] AH00418: Parent: Created child process 12100


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-30 09:12 UTC] requinix@php.net
-Status: Open +Status: Feedback
 [2020-08-30 09:12 UTC] requinix@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.


 [2020-09-20 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 06 07:01:29 2024 UTC