neocai 发表于 2017-4-4 10:35:43

PHP 5.3.3 | ZendOptimizer | Zend Guard Loader

  ZendGuardLoader安装笔记:
======
32位
http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
64位
http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

1, 从phpinfo(); 找到extension_dir, php.ini的位置
2, 把上面解压的ZendGuardLoader.so放在 extension_dir 目录下
3, 打开php.ini, 最后面加上一句: zend_extension=ZendGuardLoader.so
4, 重启apache就好了.

再看phpinfo();就会有如下文字了:
 
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies
    with Zend Guard Loader v3.3, Copyright © 1998-2010, by Zend Technologies

  

装好了是吧, 打开页面看看, 运气怎么样? 什么? 不能访问, 那恭喜你, Zend Guard Loader 不支持老版本的PHP加密生成的代码.
页: [1]
查看完整版本: PHP 5.3.3 | ZendOptimizer | Zend Guard Loader