#64位的ubuntu server 下载
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
sudo mkdir /usr/zend
sudo tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
cd ZendGuardLoader-php-5.3-linux-glibc23-x86_64/php-5.3.x
sudo cp ZendGuardLoader.so /usr/zend/
#配置php.ini
在php.ini中最底部加入
zend_extension=/usr/zend/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
nginx重启php
sudo /etc/init.d/php5-fpm restart
或者重启apache2
sudo /etc/init.d/apache2 restart