|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67937 Rebooting Apache2.4 again and again caused by php_opcache.dll.
Submitted: 2014-08-30 11:18 UTC Modified: 2020-05-03 04:22 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: o6asan at yahoo dot de Assigned: cmb (profile)
Status: No Feedback Package: opcache
PHP Version: 5.6.2 OS: Windows7 HP SP1 x86
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2014-08-30 11:18 UTC] o6asan at yahoo dot de
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) from Apache Lounge from 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 


As I couldn't find why, I stop using OPcache feature now.

My php.ini based on the php.ini-production included 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
zend_extension= "D:\PHP\ext\php_opcache.dll"
date.timezone ="xxxx/xxxx"
sendmail_from = My email address
mysql.allow_persistent = Off
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?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-04 17:53 UTC]
-Assigned To: +Assigned To: dmitry
 [2014-10-04 11:22 UTC] o6asan at yahoo dot de
-PHP Version: 5.6.0 +PHP Version: 5.6.1
 [2014-10-04 11:22 UTC] 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) from Apache Lounge from from MariaDB.ORG
 [2014-10-20 09:54 UTC] o6asan at yahoo dot de
-PHP Version: 5.6.1 +PHP Version: 5.6.2
 [2014-10-20 09:54 UTC] 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) from Apache Lounge from 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-22 00:52 UTC] 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.
 [2017-10-24 08:14 UTC]
-Status: Assigned +Status: Open -Assigned To: dmitry +Assigned To:
 [2020-04-24 07:31 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-04-24 07:31 UTC]
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 for *NIX and 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-05-03 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: Wed Apr 17 05:01:34 2024 UTC