Now many PHP programs need to zendoptimizer environment, but Zendoptimizer after PHP5.2 has been supported, then what to do, Zend will not do so, originally PHP5.3 began zendoptimizer formally changed to Zend Guard Loader.
Zend Guard Loader is released, and Zend Optimizer is no longer updated, and because of the difference very much when you use Zend Guard to encrypt code, you will be prompted whether to use php5.3, and if you use 5.3 then the code will not run on php5.2.
Zend Guard Loader Installation Instructions
1, download Zend Guard loader package. (Official address: http://www.zend.com/en/products/guard/downloads)
The following includes the Linux version and the Windows version
:
360 Cloud Disk: Http://yunpan.cn/cJNjrwRyriYTy (extract code: 029e)
Baidu Network disk: Http://pan.baidu.com/s/1hqmtXLM
2. And extract zendguardloader.so (Linux) or ZendLoader.dll (Windows) to upload to the server.
3. Load Zendguardloader, 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=
Here is a description:
Note that the Windows edition only supports NTS (non-thread-safe) version of PHP5.3, that is, phpinfo thread safety is disabled!
Add the following line to your php.ini file:
Absolute paths for Linux and Mac OS x:zend_extension=<zendguardloader.so >
Windows non-thread safe: absolute path to Zend_extension=<zendloader.dll >
4. Add the following line to load the 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 find an authorization file
Zend_loader.license_path=
6. If you are using Zend debugger at the same time, make sure to load the Zend Guard loader before loading Zend Debugger
7. If you are using Ioncube loader at the same time, make sure to load the Ioncube loader and then load Zend Guard Loader
8. Restart the Web service.
If you see the following in Phpinfo (different versions may vary):
This program makes use of the Zend Scripting Language engine:zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies
Description The installation has been successful!
Attached (Windows version):
[Zend.loader]
Zend_extension=x:\zendguardloader\php-5.4.x\zendloader.dll
Zend_loader.enable=1
Zend_loader.disable_licensing=0
Zend_loader.obfuscation_level_support=3
Zend_loader.license_path=
Attached (Linux version):
Zend_extension=/usr/lib64/php/modules/zendguardloader.so
Methods for installing Zendoptimizer or Zend Guard loader under PHP5.3, PHP5.4