选择合适的版本下载 http://www.zend.com/en/products/guard/downloads 解压后将 ZendGuardLoader.so 上传到服务器 /usr/local/zend/ 编辑php.ini(/usr/local/php/etc )文件,在最后位置添加以下内容: 代码: [Zend Guard] zend_extension=/usr/local/zend/ZendGuardLoader.so ; Enables loading encoded scripts. The default value is On zend_loader.enable=1 ; Optional: following lines can be added your php.ini file for ZendGuardLoader configuration zend_loader.disable_licensing=0 zend_loader.obfuscation_level_support=3 zend_loader.license_path=