安裝ZendGuardLoader

#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

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。

推薦閱讀更多精彩內容