【发布时间】:2016-06-24 19:09:16
【问题描述】:
我刚刚升级到 PHP 7,发现它既好又快,但自从我升级后,我一直收到间歇性的内部服务器错误 (500)(代码完全不变)。我正在记录错误,但在正常日志中没有出现任何内容,但在事件查看器中,我有数千个:
The description for Event ID 487 from source Zend OPcache cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
If the event originated on another computer, the display information had to be saved with the event.
The following information was included with the event:
Base address marks unusable memory region. Please setup opcache.file_cache and opcache.file_cache_callback directives for more convenient Opcache usage
Attempt to access invalid address.
我假设我配置错误,或者更新出现了问题。任何帮助都将非常棒,非常感谢。
【问题讨论】:
-
你有没有运气找出这个错误?我也一样。
-
@Rocket04 是的,这是我的 PHP.ini 配置。当我在 Windows 服务器上运行它时,默认配置是完全错误的。稍后我将发布有效的配置。