PHP5.3 above version installs Zendoptimizer extension _php tutorial

Source: Internet
Author: User
Tags download zend phpinfo ioncube zend

PHP5.3 above version installs Zendoptimizer extension


This article mainly introduced the PHP5.3 above version installs the Zendoptimizer extension the method, is very meticulous, recommends to the need small partner reference.

Now many PHP programs need to zendoptimizer environment, but Zendoptimizer after PHP5.2 has been supported, then what to do, Zend will not do so, originally PHP5.3 began zendoptimizer formally changed to Zend Guard Loader.

Zend Guard Loader is released, and Zend Optimizer is no longer updated, and because of the difference very much when you use Zend Guard to encrypt code, you will be prompted whether to use php5.3, and if you use 5.3 then the code will not run on php5.2.

Zend Guard Loader Installation Instructions

Download Zend Guard Loader pack
(Official address: http://www.zend.com/en/products/guard/downloads)

Linux:

X86:http://downloads.zend.com/guard/5.5.0/zendguardloader-php-5.3-linux-glibc23-i386.tar.gz

X64:http://downloads.zend.com/guard/5.5.0/zendguardloader-php-5.3-linux-glibc23-x86_64.tar.gz

Windows:

Http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Windows.zip

and extract zendguardloader.so (Linux) or ZendLoader.dll (Windows) to upload to the server.

Load Zendguardloader, configure PHP.ini
Example:

The code is as follows:


Zend_extension=c:\web\php\ext\zendloader.dll
Zend_loader.enable=1
Zend_loader.disable_licensing=0
Zend_loader.obfuscation_level_support=3
Zend_loader.license_path=

Here is a description:

Note that the Windows edition only supports NTS (non-thread-safe) version of PHP5.3, that is, phpinfo thread safety is disabled!

Add the following line to your php.ini file:

The code is as follows:


; Linux and Mac OS X:
zend_extension=
; Windows is non-thread-safe:
zend_extension=

Add the following line to load the Zendguardloader:

The code is as follows:


; Enable the load encoding script. Enabled by default
Zend_loader.enable=1

Optional: Configure Zendguardloader

The code is as follows:


; Disable check authorization (for performance reasons)
Zend_loader.disable_licensing=0
; Configuration obfuscation Level 0-no confusion supported
Zend_loader.obfuscation_level_support=3
; Configure the path to find an authorization file
Zend_loader.license_path=

If you are using Zend debugger at the same time, make sure to load the Zend Guard loader and then load Zend Debugger

If you are using Ioncube loader at the same time, make sure to load the Ioncube loader and then load Zend Guard Loader

Restart the Web service.

If you see the following in Phpinfo (different versions may vary):

The code is as follows:


Makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies

Description The installation has been successful!

The above is the whole content of this article, I hope you can enjoy

Please take a moment to share the article with your friends or leave a comment. We would be grateful for your support!

http://www.bkjia.com/PHPjc/975124.html www.bkjia.com true http://www.bkjia.com/PHPjc/975124.html techarticle PHP5.3 above version installs Zendoptimizer extension This article mainly introduced PHP5.3 above version installs the Zendoptimizer extension the method, very meticulous, recommends to the need small partner to refer. ...

  • 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.