Bug #80034 [NEW]: PHP8 crashes apache web server

From: Date: Sun, 30 Aug 2020 08:58:50 +0000
Subject: Bug #80034 [NEW]: PHP8 crashes apache web server
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-228798@lists.php.net to get a copy of this message
From: celestinoxp at hotmail dot com Operating system: Windows10 PHP version: master-Git-2020-08-30 (snap) Package: Apache2 related Bug Type: Bug Bug description:PHP8 crashes apache web server 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 -- Edit bug report at https://bugs.php.net/bug.php?id=80034&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=80034&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=80034&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=80034&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=80034&r=needscript Try newer version: https://bugs.php.net/fix.php?id=80034&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=80034&r=support Expected behavior: https://bugs.php.net/fix.php?id=80034&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=80034&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=80034&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=80034&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=80034&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=80034&r=dst IIS Stability: https://bugs.php.net/fix.php?id=80034&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=80034&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=80034&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=80034&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=80034&r=mysqlcfg

« previous php.bugs (#228798) next »