VPS侦探论坛

 找回密码
 注册
查看: 4919|回复: 3

opcache安装不了 PHP5.6

[复制链接]
发表于 2015-5-25 20:06:36 | 显示全部楼层 |阅读模式

=======================================================================
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.
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-5-25 20:49:24 | 显示全部楼层


/usr/local/php/bin/php -v 看一下,按提示看应该是php配置可能有错误
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-5-26 06:19:24 | 显示全部楼层



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


现在也一样,最新扩展包也不支持php5.6,要想php5.6支持opcache,需在升级php时 带上参数就可  --enable-opcache
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 14:42 , Processed in 0.026132 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表