Content:
After installing the good red Hat Linux 9 + Apache 2.0.55 + MySQL 5.1.6 + php 5.1.2, the next step is to install Linux under the PHP accelerator Zendoptimizer 2.6.2.
After compiling your own PHP, Zend Optimizer 2.6.2 need to set up their own, please refer to the following steps:
Suppose you compile the PHP in the following directory:/opt/php
The first step: Download Zend Optimizer 2.6.2 Address: Http://downloads.zend.com/optimizer...c21-i386.tar ...
Step two: Untie the zendoptimizer-2.6.2-linux-glibc21-i386.tar.gz and find the following files Zendoptimizer-2.6.2-linux-glibc21-i386.tar.gzzendoptimizer-2.6.2-linux-glibc21-i386data5_1_x_ compzendoptimizer.so zendoptimizer.so Copy or upload (binary) to the following directory:/opt/php/lib/
Step Three: Locate the following file/home/user/domain/etc/php5/php.ini Open, edit, and enter the following on the last side:
Now that you have completed the Zend Optimizer configuration, you can use <?php phpinfo (),?> Save as info.php, and then bring the browser input
Http://localhost/info.php on the top of this page there is a Zend icon to see if the version of the Zendoptimizer you installed is activated!
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.