Install ZendOptimizer in the Kloxo/Lxadmin tutorial Series

Source: Internet
Author: User

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
 

 

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.