下载Zend Optimizer http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz 1tar -xzvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz 2cd ZendOptimizer-3.3.9-linux-glibc23-i386 3cd data 4cd 5_1_x_comp 5cp ZendOptimizer.so /usr/lib/php/modules/ 修改配置文件vim /etc/php.ini 加入如下两行 1zend_optimizer.optimization_level=15 #启动多少优化过程 2zend_extension=/usr/lib/php/modules/ZendOptimizer.so 然后重启下httpd服务,用phpinfo()查看,发现了 This program makes use of the Zend Scripting Language Engine: Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies 安装eAccelerator 1wget http://bart.eaccelerator.net/source/0.9.6/eaccelerator-0.9.6.tar.bz2 2#bzip2 -d eaccelerator-0.9.6.tar.bz2 3#tar -xvf eaccelerator-0.9.6.tar 4#cd eaccelerator-0.9.6 5#/usr/bin/phpize 6#./configure –enable-ea……
Continue reading