善忘技术夹 Logo
善忘技术夹
技术文章 · 1498 阅读

PHP 5.3 安装 Zend Guard Loader 说明_JK的空间_百度空间

From Evernote:


PHP 5.3 安装 Zend Guard Loader 说明_JK的空间_百度空间

Clipped from: http://hi.baidu.com/jok607/blog/item/571524d3daf5b71b3bf3cfa6.html

图片

JK的空间

发现原来自己什么都不会…

主页 博客 相册 | 个人档案 | 好友 | i贴吧

| 查看文章 | |
---|---|---|---

【转】 PHP 5.3 安装 Zend Guard Loader 说明

2011年08月22日 星期一 下午 02:24

转载自 分享

最终编辑 weiweiok_php

PHP 5.3 下,Zend Optimizer 已经被全新的 Zend Guard Loader 取代 ------------------------------------------------ 1. 下载 Zend Guard Loader 压缩包。(官方下载地址:http://www.zend.com/en/products/guard/downloads

2. 解压并提取 ZendGuardLoader.so(Linux)或 ZendLoader.dll(Windows),对应你的PHP版本。

3. 在你的 php.ini 文件添加下面一行,用来加载 Zend Guard Loader:

**Linux 和 Mac OS X:** zend_extension = 完整路径/ZendGuardLoader.so  
**Windows(非线程安全):** zend_extension = 完整路径/ZendLoader.dll  

4. 在 php.ini 额外新增一行,启用 Zend Guard Loader:

zend_loader.enable = 1  

5. 可选:可以在 php.ini 文件添加以下行到 Zend Guard Loader 配置位置:

;禁用许可证检查(为了性能的原因)  
zend_loader.disable_licensing = 0  

;让 Zend Guard Loader 支持混淆级别。级别在 Zend Guard 的[官方详细文档](http://www.zend.com/topics/Zend-Guard-User-Guidev5x.pdf)。 0 - 不启用混淆  
zend_loader.obfuscation_level_support = 3  

;从这个路径寻找Zend产品授权的产品许可证。欲了解更多有关如何创建一个许可证文件的信息,请参阅 Zend Guard 用户指南.  
zend_loader.license_path =  

6. 如果您使用 Zend debugger,请确保加载 Zend guard Loader。

7. 如果您使用 ioncube loader,请务必在它之前加载 Zend guard Loader。

8. 重新启动Web服务器。 ------------------------------------------- 转载请注明出处:http://hi.baidu.com/phpbuff/blog/item/2470f4d63fb58e3906088bb8.html

类别:默认分类 | | 添加到搜藏 | 分享到i贴吧 | 浏览( 120) | 评论 ( )

上一篇: PHP 5.3 与 Zend编译 下一篇: PHP 5.3 系列安装与配置

最近读者:

网友评论:

发表评论:

姓 名:jishijun204 *姓名最长为50字节
内 容:
------

|
| 同时将此文章分享给好友
验证码: | 请点击后输入四位验证码,字母不区分大小写
看不清?
| 取消回复

| |
---|---|---

(C)2011 Baidu