Installation and configuration method of Zendoptimizer under Linux _php skills

Source: Internet
Author: User
Tags download zend zend
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:

Zend Optimizer Options
zend_optimizer.optimization_level=1023
Zend_extension=/opt/php/lib/zendoptimizer.so

Step Fourth: Save or upload (binary) php.ini file

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!

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.