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!