PHP5.3 Installing Zend Guard Loader Graphics tutorial, _php tutorial

Source: Internet
Author: User
Tags phpinfo

PHP5.3 Install Zend Guard Loader Graphics tutorial,


Zend optimizer/3.3.3 decryption plus code optimization to improve the execution speed of PHP applications, significantly reducing the CPU load on the server.
Zend Guard loader/5.5.0/6.0 decryption plus code optimization to increase the execution speed of PHP applications and significantly reduce the CPU load on the server.

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

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

Download and unzip the package, find the ZendLoader.dll file in the zendguardloader-php-5.3-windows\zendserver\lib\loader\php-5.3.x directory, Put it in your PHP directory under ext:


Edit the php.ini file again to add a piece of code (for example):

Save the php.ini configuration file, restart Apache or IIS

Create a new Phpinfo () file under the WWW directory you specified. Input

<?php echo phpinfo ();?>

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


Also attached: php5.3 does not support Zendoptimizer solution (Zend Guard Loader)


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

1. Download the Zend Guard Loader compression pack. (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 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.




http://www.bkjia.com/PHPjc/887350.html www.bkjia.com true http://www.bkjia.com/PHPjc/887350.html techarticle PHP5.3 installs Zend Guard loader graphics tutorial, Zend optimizer/3.3.3 decryption plus code optimization to improve the execution speed of PHP applications and significantly reduce the CPU load on the server. Zend Guard loade ...

  • Related Article

    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.