最新消息:非无江海志,潇洒送日月

PHP安装Zend支持组件Zend Guard Loader教程

网站建设 江海志 4373浏览 0评论
摘要

PHP5.4 Zend支持组件Zend Guard Loader (Runtime for PHP 5.4)
Zend发布了Zend Guard Loader (Runtime for PHP 5.4),相信有很多朋友因5.4的版本不支持Zend而郁闷,下面就简单的来配置下吧!

Linux系统

1.下载Zend Guard Loader (Runtime for PHP 5.4)
http://www.zend.com/en/products/guard/downloads

下面直接给下32位和64位下的包

Zend for 32 Zend for 64

2.安装 Zend Guard Loader
解压后将 ZendGuardLoader.so上传到服务器/zend目录下,如果原先的环境有PHP5.3版本的组件,直接替换就可以了

3.配置 Zend Guard Loader
编辑php.ini文件,在最后位置添加以下内容:
[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=
4.重启
重启WEB服务就可以了,最后用phpinfo测试下。

 

转载请注明:江海志の博客 » PHP安装Zend支持组件Zend Guard Loader教程

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址