gxpn 发表于 2015-5-25 20:06:36

opcache安装不了 PHP5.6

=======================================================================
Install Zend Opcache for LNMP,Written by Licess
=======================================================================
LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
This script is a tool to install Zend Opcache for lnmp


For more information please visit http://www.lnmp.org
=======================================================================


Press any key to start...or Press Ctrl+c to cancel
=========================== install zend opcache ======================
Error: can't get php version!
Maybe your php was didn't install or php configuration file has errors.Please check.

licess 发表于 2015-5-25 20:49:24

/usr/local/php/bin/php -v 看一下,按提示看应该是php配置可能有错误

gxpn 发表于 2015-5-25 22:10:08

回复 2# 的帖子

PHP 5.6.9 (cli) (built: May 25 2015 19:15:39)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies

id886 发表于 2015-5-26 06:19:24

安装脚本里,并没有支持 php5.6的安装。   因那时没有支持php5.6的opcache扩展包


现在也一样,最新扩展包也不支持php5.6,要想php5.6支持opcache,需在升级php时 带上参数就可--enable-opcache
页: [1]
查看完整版本: opcache安装不了 PHP5.6