在Linux下为PHP5.3.8配置Zend Guard Loader

从PHP5.3开始如果要支持ZendGuard加密的PHP代码,必须安装Zend Guard Loader,老的zend optimizer将不被支持。

遇到错误:



One more more files on this web site were encoded by ZendGuard and the required run-time support is not installed orproperly configured.



原因是:

PHP 5.3 不支持 ZendOptimizer-3.3.3 已被Zend Guard Loader (Runtime for PHP 5.3)取代!



(下载命令)

# wget -c http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz

# tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz

# vi /usr/local/php/lib/php.ini



(修改PHP配置文件添加)

zend_extension=/usr/local/ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so



zend_loader.enable=1

zend_loader.disable_licensing=0

zend_loader.obfuscation_level_support=3

4.http://IP/test.php(内容为<?php phpinfo(); ?>),看到如下内容及证明安装成功了。

zend guard loader
注意:with Zend Guard Loader v3.3出现表示安装成功,如果没有则安装失败。

 

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注