Zend Guard Loader Configuration and installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.