Home > Backend Development > PHP Tutorial > Installation and configuration method of ZendOptimizer under Linux_PHP tutorial

Installation and configuration method of ZendOptimizer under Linux_PHP tutorial

WBOY
Release: 2016-07-21 15:56:02
Original
884 people have browsed it

Content:
After installing Red Hat Linux 9 + Apache 2.0.55 + MySQL 5.1.6 + PHP 5.1.2, the next step is to install the php accelerator ZendOptimizer 2.6.2 under Linux.
After compiling PHP yourself, you need to set up Zend Optimizer 2.6.2 yourself. Please refer to the following steps:

Assume that you compile PHP 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: Unlock 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 Copy or upload (binary) ZendOptimizer.so to the following directory Below: /opt/php/lib/

Step 3: Find the following file /home/user/domain/etc/php5/php.ini, open it, edit it, 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 (binary) php.ini file

Now the Zend Optimizer configuration has been completed. You can use to save it as info.php, then open the browser and enter
http://localhost/info. PHP has a Zend icon on the top of this page. Check to see if the version of ZendOptimizer you installed is activated!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/318176.htmlTechArticleContent: After installing RedHatLinux9+Apache2.0.55+MySQL5.1.6+PHP5.1.2, next Just install the php accelerator ZendOptimizer2.6.2 under Linux. After compiling PHP yourself, ZendOptimizer2....
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template