我的设置:
- 视窗 2008 R2 服务器
- PHP 版本 5.4.7
- Zend Opcache 7.0.3(我刚升级到7.0.5还是一样)
有时我会在使用 Chrome 浏览网站时被对等方重置连接。
我按照其他线程的建议启用了“use_cwd”设置。仍然没有帮助。
编辑
我在 Windows 事件查看器中看到很多错误,每隔几分钟就会发生一次,如下所示:
Faulting application name: httpd.exe, version: 2.4.3.0, time stamp: 0x502f70a3
Faulting module name: php5ts.dll, version: 5.4.7.0, time stamp: 0x505114f8
Exception code: 0xc00000fd
Fault offset: 0x000398c9
Faulting process id: 0xd1c
Faulting application start time: 0x01d183ec32bb4c1b
Faulting application path: ...\apache\bin\httpd.exe
Faulting module path: ...\php\php5ts.dll
Report Id: 72e103b0-efdf-11e5-ae29-22000afc56aa
但是当我关闭 opcache 时,我再也看不到这些错误了。
我的 opcache 配置
zend_extension = "xxxx\php\ext\php_opcache.dll"
opcache.memory_consumption=192
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=4000
opcache.revalidate_freq=30
opcache.use_cwd=1
opcache.fast_shutdown=1
opcache.enable_cli=0
opcache.blacklist_filename = "xxxx\mypath\opcache-blacklist.txt"
知道如何解决这个问题吗?将我的 PHP 版本升级到 5.5 会解决这个问题吗?
谢谢。