PHP 5.3, Zend Optimizer has been replaced by the new Zend Guard Loader
------------------------------------------------
1. Download the Zend Guard Loader compression pack. (Official: Http://www.zend.com/en/products/guard/downloads)
2. Unzip 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 the 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 to the php.ini to enable Zend Guard Loader:
zend_loader.enable = 1
5. Optional: You can add the following line to the Zend Guard Loader configuration location in the php.ini file:
; Disable license checking (for performance reasons)
zend_loader.disable_licensing = 0
; let Zend Guard Loader support obfuscation levels. Level official detailed documentation for the Zend Guard. 0-Do not enable obfuscation
Zend_loader.obfuscation_level_support = 3
From this path, look for product licenses licensed for Zend products. For more information about how to create a license file, see the Zend Guard User Guide.
Zend_loader.license_path =
6. If you are using Zend debugger, be sure to load the Zend guard Loader.
7. If you are using Ioncube Loader, be sure to load Zend Guard loader before it.
8. Restart the Web server.
To summarize, the statements added in PHP.ini are as follows:
"Linux and Mac OS x environments"
Zend_extension= "/usr/lib/php/modules/zendguardloader.so" (Replace with your own zendguardloader.so path)
Zend_loader.enable=1
Zend_loader.disable_licensing=0
Zend_loader.obfuscation_level_support=3
"Under Windows environment"
Zend_extension= "C:/php/zendloader.dll" (Replace with your own zendguardloader.so path)
Zend_loader.enable=1
Zend_loader.disable_licensing=0
Zend_loader.obfuscation_level_support=3
Zend Guard Loader Configuration and installation