PHP 5.3.x installation under Windows Zend Guard Loader tutorial, 5.3.xzend_php tutorial

Source: Internet
Author: User

PHP 5.3.x installation under Windows Zend Guard Loader tutorial, 5.3.xzend


Starting from PHP5.3 If you want to support Zendguard encrypted PHP code, you must install Zend Guard Loader, and the old Zend Optimizer will not be supported. In addition, Zend Guard Loader only supports Non Thread Safe version of PHP.

Download extensions:

Http://www.zend.com/en/products/guard/downloads

Install extensions:

Append in php.ini:
Copy the Code code as follows:
[Zend.loader]
zend_extension= ' D:/program files/php-5.3.29/zendloader.dll '
Zend_loader.enable=1
Zend_loader.disable_licensing=1
Zend_loader.obfuscation_level_support=3
Zend_loader.license_path=

Restart the Web server (Iis/nginx)

Run Phpinfo () and you will see the following information:
Copy the Code code as follows:
Makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
With Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies


php534 How to install Zendguardloader-php-53-windows

There are two ways to install PHP under Windows: Install manually or by using the Setup program.

According to the official PHP manual, the best option for installing PHP is to install it manually.

The best way to install PHP in a manual installation is to put all the PHP-related files in the same directory and set this directory in the system's PATH environment variable.

PHP's Manual installer can be downloaded from www.php.net/downloads.php. Click the PHP 5.2.5 Zip package to download.

Here are the manual steps to install PHP:

The first step: I was directly extracted into the D-disk PHP directory, so it is much easier to find files. After the decompression, my PHP directory is D:\PHP.

Step Two: Add the PHP directory to the PATH environment variable,

(System variable, environment variable, properties----"My Computer--"), find the variable of path, click Edit to add the following, such as d:\php; Is your path to install PHP Note that there is a ";" between each variable. Half-width semicolon separated, if there is no semicolon in front of you please add up. OK)

Step three: Set up a valid configuration file for PHP, php.ini.

There are two INI files in the ZIP package, Php.ini-dist and php.ini-recommended.

It is recommended to use php.ini-recommended because performance and security are optimized in this file.

Rename the D:\PHP\php.ini-recommended to D:\PHP\php.ini.

Then use Notepad to open php.ini, look for register_globals = off, turn off to on, here is generally resolved to run the installation forum blank problems.

Then look for short_open_tag = off and change off to on.
Find Extension_dir = "./" and change to Extension_dir = "D:\PHP\ext"

(Specify the directory for the Dynamic Connection library, where php5 and PhP4 are different from the Dynamic Connection Library directory, which is described in detail in its document structure)

And then look for it; Extension=php_mbstring.dll, remove the semicolon from the front of the following sentence

Extension=php_mbstring.dll, if you don't choose, a red hint will appear with phpMyAdmin.
Extension=php_gd2.dll Support GD Library, the general need to drop
Extension=php_mysql.dll support for MySQL

Next you have modified some file uploads and the maximum memory usage limit:
Memory_limit = 20M Memory capacity
Post_max_size = 20M Flash capacity
Upload_max_filesize = 20M Accessory Capacity

Above 3 places please change according to your actual needs

Nothing else has changed, save and exit.

The next step is to make the php.ini file used by PHP under Windows (this is important, otherwise your php.ini will not be recognized and loaded), only need to add a PHPRC environment variable, the steps are as follows

System variables, environment variables, properties-----
Click on the "new" button-> Remaining full text >>

PHP538 Install Zend Guard Loader have a success?

You said Zend Guard loader5.5 was downloaded from Www.zend.com/en/products/guard/downloads, mine too, I can install it, You do need a non-thread-safe version of PHP to install Zend Guard Loader, which I have tried myself. I seem to have seen the security version of PHP installation method on the Internet, but the configuration is not the following. The following is php5.3 NTS,
put ZendLoader.dll, put into the C:\php\ext folder, my PHP is at the end of C:\php,php.ini add the following,
[Zend.loader]
Zend_ Loader.enable=1
zend_loader.disable_licensing=1
zend_loader.obfuscation_level_support=3
Zend_ Loader.license_path=
zend_extension= "C:\php\ext\ZendLoader.dll"
Restart IIS should be OK.



 

http://www.bkjia.com/PHPjc/875395.html www.bkjia.com true http://www.bkjia.com/PHPjc/875395.html techarticle PHP 5.3.x installation under Windows Zend Guard Loader Tutorial, 5.3.xzend starting from PHP5.3 if you want to support Zendguard encrypted PHP code, you must install Zend guard Loader, old Zend Optimizer will not ...

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