VPS侦探论坛

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

军哥,帮忙看下zend optimizer的问题

[复制链接]
发表于 2012-10-26 12:11:59 | 显示全部楼层 |阅读模式

我用的LNMP0.9, 升级了PHP到5.3.13, zend optimizer不能使用了。
下载了个能支持5.3的zend optimizer, 安装失败,PHPINFO() 提示还是没有安装上。
能不能指点下?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-10-26 12:34:35 | 显示全部楼层


看常见问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2012-10-26 12:57:15 | 显示全部楼层

军哥,昨天晚上我就翻了,技术有限,麻烦帮我翻下那篇文章。
还有我不是升级了PHP,而是用的CENTSO 6, 默认是PHP5.3.13 .
看了下网上的资料,PHP5.3必须安装Zend Optimizer 5.5 (zend loader)才能支持。
不知道怎么升级,或者重新安装。
我用一下方法重新安装,重启后还是v3.3的版本
===================================
1. 在官方下载  我的系统是CENTSO 6 32 BIT
Zend Guard Loader (Runtime for PHP 5.3)5.5.0 (32 bit)
http://www.zend.com/en/products/guard/downloads

2. 解压,复制ZendGuardLoader.so到zend_extension=/usr/local/zend/ (把原先的ZendGuardLoader.so改名为ZendGuardLoader.so.bak)

3. 在/etc/php.ini中(末尾)添加以下代码(按照安装手册)
zend_extension=/usr/local/zend/ZendGuardLoader.so
zend_loader.enable=1
; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
zend_loader.license_path=

4. /root/lnmp restart 重启

按照以上方法按理说应该可以安装好了,但是仍然显示with Zend Guard Loader v3.3。

麻烦指点一下。

[ 本帖最后由 chingqen 于 2012-10-26 13:30 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-23 23:21 , Processed in 0.026060 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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