输入php-v提示如下

问答中心分类: OneinStack输入php-v提示如下
sicecake asked 6 年 ago

Thu Mar 15 14:40:42 2018 (25267): Fatal Error Zend OPcache cannot allocate buffer for interned strings
服务器中有两个网站,一个正常访问;另一个index.php页面显示为空,html文件可以访问,此网站在其他lnmp环境服务器上测试没问题。

Question Tags:

6 Answers

Best Answer

abbotton answered 6 年 ago
修改
```html
/usr/local/php/etc/php.d/02-opcache.ini
```
将`opcache.enable=1`修改为`opcache.enable=0`

sicecake answered 6 年 ago
求助~~

oneinstack answered 6 年 ago
图片看不到。。。

sicecake answered 6 年 ago
 图片内容也就是,Thu Mar 15 14:40:42 2018 (25267): Fatal Error Zend OPcache cannot allocate buffer for interned strings

oneinstack answered 6 年 ago
看上去是opcache bug,php版本多少?

oneinstack answered 6 年 ago
你这个是把opcache禁用了,升级php,再打开看看!