php5.3.3php5.4如何支持zend,Zend Guard代替Zend Optimizer 支持php5.3/php5.4

服务器的php的版本是php5.3,但是Zend Optimizer不支持php5.3,经过各种努力,终于可以使用了。

1、下载Zend Guard

支持php5.3

32位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz

64位 http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

支持php5.4

2、将ZendGuardLoader.so复制到/usr/lib/php5/20090626+lfs目录下面

3、在/etc/php5/conf.d目录下面新建zend.ini,写入

zend_extension="/usr/lib/php5/20090626+lfs/ZendGuardLoader.so"

4、重启服务器

service nginx restart

5、输入php -m|grep Zend,出现

Zend Guard Loader

[Zend Modules]

Zend Guard Loader

则为成功

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值