Install ZendOptimizer under Kloxo. Of course, the first step is to log on to your VPS through SSH using the root account and password, then follow the steps below to install and configure (the color section is the command below ).
1. Enter the corresponding directory
[Root @ sayhosts ~] # Cd/usr/local/src
2. Obtain the ZenOptimizer package
[Root @ sayhosts ~] # Wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
3. Decompress
[Root @ sayhosts ~] # Tar-xzvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
Iv. Installation
[Root @ sayhosts ~] #./ZendOptimizer-3.3.3-linux-glibc23-i386/install. sh
V. Configuration
After the preceding steps are completed, the blue installation interface appears. If Apache is used, press enter until the execution is complete.
After the installation is complete, go to the php. ini configuration page.
[Root @ sayhosts ~] # Vi/etc/php. ini
If there is
[Zend]
Zend_extension_manager.optimizer =/usr/local/Zend/lib/Optimizer-3.3.3
Zend_extension_manager.optimizer_ts =/usr/local/Zend/lib/Optimizer_TS-3.3.3
Zend_optimizer.version = 3.3.3
Zend_extension =/usr/local/Zend/lib/ZendExtensionManager. so
Zend_extension_ts =/usr/local/Zend/lib/ZendExtensionManager_TS.so
The above Code indicates that the installation is successful.
This is the system php. ini, and you need to manually configure this code to the php. ini under your domain name.
[Root @ sayhosts ~] # Vi/home/httpd/your domain name/php. ini
Paste the zend code copied above in the php. ini directory of each domain name.
Exit vi
6. Restart Apache
[Root @ sayhosts ~] # Service httpd restart
[Zend]
Zend_extension_manager.optimizer =/usr/local/Zend/lib/Optimizer-3.3.3
Zend_extension_manager.optimizer_ts =/usr/local/Zend/lib/Optimizer_TS-3.3.3
Zend_optimizer.version = 3.3.3
Zend_extension =/usr/local/Zend/lib/ZendExtensionManager. so
Zend_extension_ts =/usr/local/Zend/lib/ZendExtensionManager_TS.so
Run the following command to restart the webserver.
[Root @ sayhosts ~] #/Etc/init. d/lighttpd restart