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!