首页 > 运营 > 建站经验 > 正文

Windows下的PHP 5.3.x安装 Zend Guard Loader教程

2021-11-23 22:57:18
字体:
来源:转载
供稿:网友

这篇文章主要介绍了Windows下的PHP 5.3.x安装 Zend Guard Loader教程,安装方法很简单,下载DLL文件,加入配置文件即可,需要的朋友可以参考下

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

下载扩展:

http://www.zend.com/en/products/guard/downloads

安装扩展:

在php.ini中追加:

  1. [Zend.loader] 
  2. zend_extension='D:/Program Files/PHP-5.3.29/ZendLoader.dll' 
  3. zend_loader.enable=1 
  4. zend_loader.disable_licensing=1 
  5. zend_loader.obfuscation_level_support=3 
  6. zend_loader.license_path= 

重启Web服务器(IIS/Nginx)

运行phpinfo(),会看到如下信息:

This program makes use of the Zend Scripting Language Engine:

Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表