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

WBOY
Release: 2016-05-16 20:36:25
Original
1064 people have browsed it

从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中追加:

复制代码 代码如下:

[Zend.loader]
zend_extension='D:/Program Files/PHP-5.3.29/ZendLoader.dll'
zend_loader.enable=1
zend_loader.disable_licensing=1
zend_loader.obfuscation_level_support=3
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
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!