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!