lnmpa1.3/1.4 安装Opcache后多次出现Cannot load Zend OPcache
如题,ssh登录查看php版本:php -v,出现下面的问题Cannot load Zend OPcache网站无法启动,用./addons.sh uninstall opcache 卸载Opcahce后,网站才能运行。
lnmpa1.3/1.4 两个环境下都是这样。
军哥,这是何故?
谢指点! 发一下具体截图或错误谢谢 命令行执行情况如下:
====== Installing zend opcache ======
Press any key to install...or Press Ctrl+c to cancel
Uninstall eAccelerator...
Copy Opcache Control Panel...
Restarting Apache......
restart apache...done
====== Opcache install completed ======
Opcache installed successfully, enjoy it!
# php -v
Cannot load Zend OPcache - it was already loaded
PHP 7.0.7 (cli) (built: Apr 22 2017 22:11:49) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
#
[ 本帖最后由 challey 于 2017-4-28 14:04 编辑 ]
回复 2# 的帖子
无法插入图片,命令行执行情况如下:====== Installing zend opcache ======
Press any key to install...or Press Ctrl+c to cancel
Uninstall eAccelerator...
Copy Opcache Control Panel...
Restarting Apache......
restart apache... done
====== Opcache install completed ======
Opcache installed successfully, enjoy it!
# php -v
Cannot load Zend OPcache - it was already loaded
PHP 7.0.7 (cli) (built: Apr 22 2017 22:11:49) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
#
[ 本帖最后由 challey 于 2017-4-28 14:04 编辑 ] opcache加载了两次,你可以看一下php.ini 中是否有多个opcache.so
页:
[1]