Install Zend Improve PHP application execution speed

Source: Internet
Author: User
Keywords Application PHP execution speed
Tags .gz accelerator application configuration etc install installation linux

Zend Guard Loader is a new support PHP5.3 accelerator, if you are using PHP5.2 the following version, please use Zend official Zend Optimizer version of the Add, PHP5.3 above version no longer support Zend Optimizer, has been replaced by a new Zend Guard Loader, the following wind network to take you to understand Zend Guard installation, configuration, so that you can easily realize the acceleration of PHP program, hurriedly do!

1, download Zend Guard

Cd/home
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz #32位
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz #64位

2, installation Zend Guard

Mkdir/usr/zend #建立Zend Optimizer installation directory
Tar xvfz zendguardloader-php-5.3-linux-glibc23-i386.tar.gz #解压安装文件
CP zendguardloader-php-5.3-linux-glibc23-i386/php5.3.x/zendguardloader.so/usr/zend/#拷贝文件到安装目录
rm-rf/home/zendguardloader-php-5.3-linux-glibc23-i386* #删除安装包

3, configure Zend Guard

Cp/etc/php.ini/etc/php.inibak #修改之前先备份
Vi/etc/php.ini #编辑文件
Add the following at the last location
[Zend Guard]
Zend_extension=/usr/zend/zendguardloader.so
Zend_loader.enable=1
Zend_loader.disable_licensing=0
Zend_loader.obfuscation_level_support=3
Zend_loader.license_path=

4, restart the Web server

/ETC/INIT.D/HTTPD restart

Test the site is not PHP execution feel much faster!

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.