Install ZendOptimizer in PHP5.3 and PHP5.4. Currently, many PHP programs require the ZendOptimizer environment, but ZendOptimizer has been supported after PHP5.2. Zend will not do this either, it turns out that many PHP programs now require the ZendOptimizer environment to officially change the ZendOptimizer environment from PHP5.3. However, ZendOptimizer is supported after PHP5.2, so Zend will not do the same, originally, PHP5.3 began to change ZendOptimizer to Zend Guard Loader.
Zend Guard Loader is released, and Zend Optimizer will not be updated. due to the wide difference, when Zend Guard is used to encrypt code, you will be prompted whether to use php5.3, if 5.3 is used, the code cannot be run on php5.2.
Zend Guard Loader installation instructions
1. Download the 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
2. extract ZendGuardLoader. so (Linux) or ZendLoader. dll (Windows) and upload it to the server.
3. 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 windows only supports PHP for the security (non-Thread-safe) edition, that is, the Thread Safety in phpinfo is disabled!
Add the following lines to your php. ini file:
Linux and Mac OS X: zend_extension =
Windows non-thread-safe: zend_extension =
4. add the following line to load ZendGuardLoader:
; Enable the load encoding script. Enabled by default
Zend_loader.enable = 1
5. optional: Configure ZendGuardLoader
; Disable check authorization (for performance reasons)
Zend_loader.disable_licensing = 0
; Configuration obfuscation level 0-does not support obfuscation
Zend_loader.obfuscation_level_support = 3
; Configure the path to search for the authorization file
Zend_loader.license_path =
6. if you use Zend debugger at the same time, ensure that Zend guard Loader is loaded before Zend debugger is loaded.
7. if you use Ioncube loader at the same time, ensure that you load Ioncube loader and then load Zend guard Loader.
8. restart the Web service.
If the following content is displayed 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
The installation is successful!
...