PHP5.3 graphic tutorial on installing Zend Guard Loader,
Zend Optimizer/3.3.3 decryption and code optimization improves the execution speed of PHP applications and significantly reduces the server's CPU load.
Zend Guard Loader/5.5.0/6.0 decryption and code optimization improves the execution speed of PHP applications and significantly reduces the server's CPU load.
PHP 5.3.X started to be replaced by Zend Guard Loader. The installation method varies. The following describes how to install Zend Guard Loader:
: ZendGuardLoader-php-5.3-Windows.zip
Download the compressed package, find the ZendLoader. dll file under the ZendGuardLoader-php-5.3-Windows \ ZendServer \ lib \ loader \ php-5.3.x directory, put it under your php Directory ext:
Edit the php. ini file and add a piece of code (for example ):
[Zend.loader] zend_loader.enable=1 zend_loader.disable_licensing=1 zend_loader.obfuscation_level_support=3 zend_loader.license_path= zend_extension=”D:\php\ext\ZendLoader.dll”
Save the php. ini configuration file and restart apache or IIS.
Create a phpinfo () file in the www directory you specified. Enter
<? Php echo phpinfo ();?>
If the probe shows Zend Guard Loader, Zend Guard has been configured successfully;
Appendix: php5.3 Zend Guard Loader)
In PHP 5.3, Zend Optimizer has been replaced by the new Zend Guard Loader.
1. Download the Zend Guard Loader package. (Official: http://www.zend.com/en/products/guard/downloads)
2. decompress and extract ZendGuardLoader. so (Linux) or ZendLoader. dll (Windows), corresponding to your PHP version.
3. Add the following line to your php. ini file to load Zend Guard Loader:
Linux and Mac OS X: zend_extension = full path/ZendGuardLoader. so
Windows (non-thread-safe): zend_extension = full path/ZendLoader. dll
4. add an additional line in php. ini and enable Zend Guard Loader:
Zend_loader.enable = 1
5. Optional: You can add the following lines to the Zend Guard Loader configuration location in the php. ini file:
; Disable the license check (for performance reasons)
Zend_loader.disable_licensing = 0
; Enables Zend Guard Loader to support obfuscation levels. Level in Zend Guard official detailed documentation. 0-do not enable Obfuscation
Zend_loader.obfuscation_level_support = 3
Find the product license authorized by Zend product from this path. For more information about how to create a license file, see the Zend Guard user guide.
Zend_loader.license_path =
6. If you use Zend debugger, make sure to load Zend guard Loader.
7. If you use ioncube loader, you must load Zend guard Loader before it.
8. Restart the Web server.