PHP5.4 Zend支持组件Zend Guard Loader (Runtime for PHP 5.4) 6.0.0已发布,Zend组件终于支持PHP5.4
PHP5.4发布至今一年多,但Zend组件(Zend Optimizer / Zend Guard Loader)却一直不支持,很多像我一样升级了PHP5.4的朋友跟我一样郁闷过吧,以前貌似只能重新配置PHP。。。像我这种用LNMP之类套件的貌似只能全部重新搭建生产环境吧。http://www.cuijinlin.com/wp-content/uploads/2013/05/guard-download-page-image.jpg
最近Zend发布了Zend Guard Loader (Runtime for PHP 5.4),在PHP5.5(官方说自带支持Zend Optimizer)出来之前,我们可以很简单的有Zend组件支持PHP5.4啦,好激动啊,不纠结了,上教程:
http://www.cuijinlin.com/wp-content/uploads/2013/05/Announcing-Zend-Guard-6-760x116-EN4-e1369073752445.jpg
1.下载Zend Guard Loader (Runtime for PHP 5.4)
根据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_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/wp-content/uploads/2013/05/-2013-05-21-%E4%B8%8A%E5%8D%883.09.59-e1369077125201.png
http://www.cuijinlin.com/wp-content/uploads/2013/05/-2013-05-21-%E4%B8%8A%E5%8D%8812.55.58-e1369074308554.png
http://www.cuijinlin.com/wp-content/uploads/2013/05/-2013-05-21-%E4%B8%8A%E5%8D%881.32.45-e1369074368825.png
来源: http://www.cuijinlin.com/2013/05/zend-guard-loader-runtime-for-php-5-4.html | 雨中漫步
[ 本帖最后由 Nothing 于 2013-5-28 23:09 编辑 ] 升级后有神马好处么 … 新手不太懂 稳定后也懒得去折腾 呵呵 嗯嗯 给需要的咯 原帖由 huosenet 于 2013-5-22 01:27 发表 https://bbs.vpser.net/images/common/back.gif
升级后有神马好处么 … 新手不太懂 稳定后也懒得去折腾 呵呵
页:
[1]