Bug #67937 [Opn->Fbk]: Rebooting Apache2.4 again and again caused by php_opcache.dll.
| From: | cmb@php.net | Date: | Fri, 24 Apr 2020 07:31:24 +0000 |
| Subject: | Bug #67937 [Opn->Fbk]: Rebooting Apache2.4 again and again caused by php_opcache.dll. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-226751@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=67937&edit=1
ID: 67937
Updated by: cmb@php.net
Reported by: o6asan at yahoo dot de
Summary: Rebooting Apache2.4 again and again caused by
php_opcache.dll.
-Status: Open
+Status: Feedback
Type: Bug
Package: opcache
Operating System: Windows7 HP SP1 x86
PHP Version: 5.6.2
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2014-10-22 00:52:39] chris at lodesys dot com
Seeing the same thing with PHP 5.6.2 (VC11-x64-thread safe version) under Windows 7. Cannot get
go-pear.phar to install from the command line due to a crash php_opcache.dll (Exception Code:
c0000005). Disabling php_opcache.dll allows normal operation.
------------------------------------------------------------------------
[2014-10-20 09:54:11] o6asan at yahoo dot de
With PHP 5.6.2 I still have the issue.
Enabling OPcache, my httpd.exe had run well for a day and a half. Then I had 'Bad host
request'.
Windows7HP+SP1(x86)
httpd-2.4.10-win32-VC11.zip from Apache Lounge
php-5.6.2-Win32-VC11-x86.zip from PHP.net
mariadb-10.0.14-win32.zip from MariaDB.ORG
Can anyone reproduce the same issue? Enabling OPCache or not is very different for speed on my
sites. So I want to use this feature.
------------------------------------------------------------------------
[2014-10-04 11:22:29] o6asan at yahoo dot de
With PHP 5.6.1 I still have the issue.
When I enable OPcache, I can see some pages like PHPINFO but cannot see other pages that are made
from WordPress 4.0.
Windows7HP+SP1(x86)
httpd-2.4.10-win32-VC11.zip from Apache Lounge
php-5.6.1-Win32-VC11-x86.zip from PHP.net
mariadb-10.0.14-win32.zip from MariaDB.ORG
------------------------------------------------------------------------
[2014-08-30 11:18:28] o6asan at yahoo dot de
Description:
------------
On August 28 around 09:30, I migrated from PHP5.5.16 to PHP5.6.0.
At first access I had a 'Bad host request' from my site after rebooting the httpd.exe. At
that time I couldn't find why, so I rebooted Windows7 itself and I could run the server and see
my site.
Windows7HP+SP1(x86)
httpd-2.4.10-win32-VC11.zip from Apache Lounge
php-5.6.0-Win32-VC11-x86.zip from PHP.net
mariadb-10.0.13-win32.zip from MariaDB.ORG
But after a few hours later, I had a 'Bad host request' again. Then I found a lot of
'-- Restarting's on the apache error log. Though I couldn't find any other
information on it, I saw a lot of errors about php_opcache.dll on the OS event log, like this:
- EventData
httpd.exe
2.4.10.0
53c79afa
php_opcache.dll
5.6.0.0
53fe2bac
c0000005
00018df2
3b8
01cfc38026be3577
D:\Apache24\bin\httpd.exe
D:\PHP\ext\php_opcache.dll
921bb83b-2f73-11e4-b49a-001185bbaf62
As I couldn't find why, I stop using OPcache feature now.
My php.ini based on the php.ini-production included php-5.6.0-Win32-VC11-x86.zip and I changed the
fallowing lines:
--------
output_buffering = Off
disable_functions ="shell_exec, suexec, passthru, phpinfo"
expose_php = Off
extension_dir = "D:\PHP\ext\"
allow_url_fopen = Off
extension=php_curl.dll
extension=php_gd2.dll
extension=php_mbstring.dll
extension=php_mysqli.dll
extension=php_openssl.dll
zend_extension= "D:\PHP\ext\php_opcache.dll"
date.timezone ="xxxx/xxxx"
sendmail_from = My email address
mysql.allow_persistent = Off
opcache.enable=1
opcache.memory_consumption=128
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=60
opcache.fast_shutdown=1
--------
Does zend_extension require php_mysql.dll? In PHP5.5.16 INI file, I loaded php_mysql.dll.
I cannot find why this occurred still now. Any suggestions?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=67937&edit=1