VPS侦探论坛

 找回密码
 注册
查看: 6846|回复: 2

PHP5.4 Zend支持组件Zend Guard Loader (Runtime for PHP 5.4) 6.0.0已发布,Zend组件终于支持PHP5.4

[复制链接]
发表于 2013-5-21 11:30:50 | 显示全部楼层 |阅读模式

PHP5.4发布至今一年多,但Zend组件(Zend Optimizer / Zend Guard Loader)却一直不支持,很多像我一样升级了PHP5.4的朋友跟我一样郁闷过吧,以前貌似只能重新配置PHP。。。像我这种用LNMP之类套件的貌似只能全部重新搭建生产环境吧。

最近Zend发布了Zend Guard Loader (Runtime for PHP 5.4),在PHP5.5(官方说自带支持Zend Optimizer)出来之前,我们可以很简单的有Zend组件支持PHP5.4啦,好激动啊,不纠结了,上教程:

1.下载Zend Guard Loader (Runtime for PHP 5.4)
[img=http://www.cuijinlin.com/wp-content/uploads/2013/05/-2013-05-20-%E4%B8%8B%E5%8D%8810.48.38-e1369073963822.png][/img]
根据32位或64位选择对应的系统版本,官方下载地址:http://www.zend.com/en/products/guard/downloads
下载需要注册Zend网站的,懒得注册的直接在我这下载就可以咯:
Zend Guard Loader (Runtime for PHP 5.4) 6.0.0(32 bit)| Zend Guard Loader (Runtime for PHP 5.4) 6.0.0(64 bit)

2.安装 Zend Guard Loader
解压后将 ZendGuardLoader.so 上传到服务器 /usr/zend/ 目录,我的LNMP自带的有原先的PHP5.3版本的组件,替换即可;

3.配置 Zend Guard Loader
编辑php.ini(/usr/local/php/etc )文件,在最后位置添加以下内容:[Zend Guard]
zend_extension=/usr/local/zend/ZendGuardLoader.so
; Enables loading encoded scripts. The default value is On
zend_loader.enable=1

4.重启
/root/lnmp restart
至此,Zend Guard Loader (Runtime for PHP 5.4)安装完成,我们可以在 phpinfo 和 探针 看到如下成功安装信息。




来源: http://www.cuijinlin.com/2013/05/zend-guard-loader-runtime-for-php-5-4.html | 雨中漫步

[ 本帖最后由 Nothing 于 2013-5-28 23:09 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-5-22 01:27:21 | 显示全部楼层


升级后有神马好处么 … 新手不太懂 稳定后也懒得去折腾 呵呵
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2013-5-28 23:11:14 | 显示全部楼层

嗯嗯 给需要的咯            
原帖由 huosenet 于 2013-5-22 01:27 发表
升级后有神马好处么 … 新手不太懂 稳定后也懒得去折腾 呵呵
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-24 15:22 , Processed in 0.025760 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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