PHP5.3及以上无法支持Zend Optimizer,必须要安装全新的Zend Guard Loader,所以记录下过程

x86:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
x64:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

CentOS 6.4 64位,安装lnmpa,php为5.3.27,扩展路径:/www/wdlinux/apache_php-5.3.27/lib/php/extensions/no-debug-non-zts-20090626

下载安装:

wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
cd ZendGuardLoader-php-5.3-linux-glibc23-x86_64
cp ZendGuardLoader.so /www/wdlinux/apache_php-5.3.27/lib/php/extensions/no-debug-non-zts-20090626/

配置:

zend_extension=/www/wdlinux/apache_php-5.3.27/lib/php/extensions/no-debug-non-zts-20090626/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=

重启apache

service httpd restart

标签: none

添加新评论