PHP5.3 installation Zend Guard loader graphics and text tutorials _php Tips

Source: Internet
Author: User
Tags download zend phpinfo zend

Zend optimizer/3.3.3 decryption plus code optimization, improve the execution speed of PHP applications, significantly reduce the server's CPU load.
Zend Guard loader/5.5.0/6.0 decryption plus code optimization, improve the execution speed of PHP applications, significantly reduce the server's CPU load.

PHP 5.3.X began Zend Optimizer officially replaced by Zend Guard Loader. Installation methods are different, the following are the specific ways to install Zend Guard Loader:

Download Address: Zendguardloader-php-5.3-windows.zip

After the download, unzip the compressed package, find the zendguardloader-php-5.3-windows\zendserver\lib\loader\php-5.3.x directory of ZendLoader.dll files, Put it in your PHP directory under ext:


Then 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 php.ini configuration file, restart Apache or IIS

Create a new Phpinfo () file in your designated www directory. Enter

<?php echo phpinfo ();?>

If the probe shows Zend Guard Loader indicates that Zend Guard has been configured successfully;


Additional: php5.3 does not support Zendoptimizer solutions (Zend Guard Loader)


Under PHP 5.3, Zend Optimizer has been replaced by a new Zend Guard Loader

1. Download Zend Guard Loader compression package. (Official Download Address: 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 in 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. Official detailed documentation of levels in Zend Guard. 0– does not enable obfuscation
Zend_loader.obfuscation_level_support = 3

From this path, look for product licenses licensed by Zend Products. For more information about how to create a license file, see the Zend Guard User's Guide.
Zend_loader.license_path =

6. If you use Zend debugger, make sure to load Zend guard Loader.

7. If you use Ioncube Loader, make sure to load Zend Guard loader before it.

8. Restart the Web server.

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.