VPS侦探论坛

 找回密码
 注册
查看: 5723|回复: 6

军哥, Zend Guard Loader 怎么升级?

[复制链接]
发表于 2015-5-22 10:47:34 | 显示全部楼层 |阅读模式

军哥你好,最近php爆出漏洞,我就干脆从5.3.8升级到了5.6.9,但是升级完成后提示

Zend Guard Loader requires Zend Guard API version 220090626. The Zend Guard API version 220131226 which is installed, is newer. Contact Zend at zend.com for a later version of Zend Guard Loader



怎么升级Zend Guard Loader?我是小白,希望军哥能给出比较详细的步骤。谢谢。目前网站访问好像正常,是不是不需要管它呢?

另外,我用的lnmp,只安装了wordpress,eAccelerator/ionCube/imageMagick/memcached/xcache/redis/opcache这些扩展一般推荐安装哪几个就够了?谢谢!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-5-22 11:08:33 | 显示全部楼层


可以自己到http://www.zend.com/en/products/guard/downloads#Linux 下载目前最新发布的支持php 5.6的版本,放到 /usr/local/ 下面,解压

扩展自己需要什么就安装,wordpress可以装个缓存类的插件memcached或xcache试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-5-22 11:32:23 | 显示全部楼层

回复 2# 的帖子


军哥,感谢你这么快就回复了。



进行如下操作:

cd /usr/local/

wget -c http://downloads.zend.com/guard/7.0.0/ZendGuard-7.0.0-linux.gtk.x86_64.tar.gz

tar zxvf ZendGuard-7.0.0-linux.gtk.x86_64.tar.gz

/root/lnmp restart

可是仍然不行,运行php -v后仍然提示Zend Guard Loader requires Zend Guard API version 220090626. The Zend Guard API version 220131226 which is installed, is newer. Contact Zend at zend.com for a later version of Zend Guard Loader

我搜索网上的时候,看见有人说 是需要将解压缩后的ZendGuardLoader.so 上传到服务器 /usr/local/zend/ ,可his我解压缩后根本没有那个文件,麻烦你再帮我看看问题可能出在哪里呢,谢谢。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2015-5-22 11:40:58 | 显示全部楼层



我好像下载错文件了,我再试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-5-22 11:49:27 | 显示全部楼层

回复 2# 的帖子


谢谢,军哥已经搞定了。我说下我的过程,麻烦帮我看下正确不:

下载地址和你给点不一样,我下载的是Zend Guard Loader不是zend guard

到http://www.zend.com/en/products/loader/downloads#Windows下载目前最新发布的支持php 5.6的版本,解压缩得到opcache.so和ZendGuardLoader.so文件,用ftp上传到/usr/local/ /zend/下面,然后 /root/lnmp restart

目前看来好像运行正常。

军哥运维代购:http://shop63846532.taobao.com/

发表于 2015-5-24 14:11:24 | 显示全部楼层

回复 5# 的帖子


你好!我的操作步骤跟你的一样!请问你的php文件能运行吗?我的显示502,但是htm文件能访问!
 楼主| 发表于 2015-5-24 20:22:36 | 显示全部楼层

回复 6# 的帖子


目前看来完全正常,php - v 也显示Zend Guard Loader安装成功。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-4-30 11:20 , Processed in 0.028441 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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