How to install and configure ZendOptimizer in Linux

Source: Internet
Author: User
Tags download zend

Content:
After installing Red Hat Linux 9 + Apache 2.0.55 + MySQL 5.1.6 + PHP 5.1.2, install the php accelerator ZendOptimizer 2.6.2 in linux.
After compiling PHP, Zend Optimizer 2.6.2 needs to be set by yourself. follow these steps:

Suppose you compile the PHP drop in the following directory:/opt/php
Step 1: Download Zend Optimizer 2.6.2 address: http://downloads.zend.com/optimizer...c21-i386.tar...

Step 2: undo the ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gz, find the following file ZendOptimizer-2.6.2-linux-glibc21-i386.tar.gzZendOptimizer-2.6.2-linux-glibc21-i386data5_1_x_compZendOptimizer.so to copy or upload ZendOptimizer. so (Binary) to the following directory:/opt/php/lib/

Step 3: Find the following file/home/user/domain/etc/php5/php. ini to open, edit, and enter the following content at the end:

Zend Optimizer options
Zend_optimizer.optimization_level = 1023
Zend_extension =/opt/php/lib/ZendOptimizer. so

Step 4: Save or upload the (Binary) php. ini file

Now all Zend Optimizer configurations have been completed. You can use <? Php phpinfo ();?> Save it as info. php and enter it in the browser
Http: // localhost/info. php has a Zend icon on the top of this page to check whether your installed ZendOptimizer version 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.