This article mainly introduces the method of installing the ZendOptimizer extension in PHP5.3 and above. It is very detailed and is recommended for reference by friends in need.
Many PHP programs now require the ZendOptimizer environment, but ZendOptimizer has been supported after PHP5.2. So what should I do? Zend will not do this. It turns out that ZendOptimizer has been officially changed to Zend Guard Loader since PHP5.3.
Zend Guard Loader is released, and Zend Optimizer will no longer be updated, and due to the large difference when using Zend Guard to encrypt code, you will be prompted whether to use php5.3. If you use 5.3 then the code cannot be used in php5. 2 runs on.
Zend Guard Loader installation instructions
Download Zend Guard Loader package
(Official address: http://www.zend.com/en/products/guard/downloads)
Linux:
x86:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
x64:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Windows:
http:/ /downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Windows.zip
and extract ZendGuardLoader.so (Linux) or ZendLoader.dll (Windows) to upload to the server.
Load ZendGuardLoader and configure PHP.INI
Example:
zend_extension=C:\web\PHP\ext\ZendLoader.dll zend_loader.enable=1 zend_loader.disable_licensing=0 zend_loader.obfuscation_level_support=3 zend_loader.license_path=
The following are explained one by one:
Note that the Windows version only supports the NTS (non-thread-safe) version of PHP5 .3, that is, Thread Safety in phpinfo is disabled!
Add the following line to your php.ini file:
;Linux和Mac OS X: zend_extension=<ZendGuardLoader.so的绝对路径> ;Windows的非线程安全的: zend_extension=<ZendLoader.dll的绝对路径>
Add the following line to load ZendGuardLoader:
;启用加载编码脚本。默认开启 zend_loader.enable=1
Optional: Configure ZendGuardLoader
;禁用检查授权(出于性能原因) zend_loader.disable_licensing=0 ;配置混淆水平 0 - 不支持混淆 zend_loader.obfuscation_level_support=3 ;配置寻找授权文件的路径 zend_loader.license_path=
If you use Zend debugger at the same time, please make sure to load Zend guard Loader before loading Zend debugger
If you use Ioncube loader at the same time, please make sure to load Ioncube loader before loading Zend guard Loader
Restart Web services.
If you see the following content in phpinfo (different versions may be different):
This program makes use of the Zend Scripting Language Engine: Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies
It means the installation has been successful!
The above is the entire content of this article. I hope you will like it.
For more articles related to installing the ZendOptimizer extension in PHP5.3 and above, please pay attention to the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Atom editor mac version download
The most popular open source editor
