1. Download The ZendOptimizer-3.3.9-linux-glibc23-i386 to www.zend.com
2. Download phpMyAdmin (phpMyAdmin-3.2.2-all-languages)
Php5.2 or above is required.
3. centos5.4 Upgrade PHP
The default PHP version of centos5.4 is 5.1.6.
You can use the following methods to upgrade the reference network:
Using yum in centos 5.x to Upgrade PHP to 5.2.x is the most convenient method. Recently, testlink 1.82 was used. It is mentioned that PHP needs to be upgraded to 5.2 or above, while centos 5. x currently provides PHP version 5.1.6, It is convenient to Upgrade PHP to 5.2 using the following methods. We recommend this method to you.Import the following addresses first. # Rpm -- import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka # Vi/etc/yum. Repos. d/CentOS-Base.repo Add the following information [Utterramblings] Name = Jason's utter ramblings Repo Baseurl = http://www.jasonlitka.com/media/el?releasever/?basearch/ Enabled = 1 Gpgcheck = 1 Gpgkey = http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka Run the command to automatically upgrade the instance. Yum update PHP-common-Y 4. Install phpmyadmin5 after upgrade, Configure permissions, and restart the service to enable zendoptimizer. so copy to a directory and execute the following directory: chcon-T texrel_shlib_t/usr/lib/zendoptimizer. so Execstack-C/usr/lib/zendoptimizer. so (if not, disable SELinux and then execute the above operations) execute PHP-I | grep PHP. INI display configuration file (PHP. INI) Path =>/etc Loaded configuration file =>/etc/PHP. ini edit/etc/PHP. inivi/etc/PHP. ini to add: [Zend] Zend_optimizer.enable_loader = 1 Zend_optimizer.optimization_level = 15 Zend_extension = "/usr/lib/zendoptimizer. so "then restart the service httpd restart. If PHP-M or PHP-V is used, the zendoptimizer is loaded successfully and then phpinfo is used. put the PHP file in the/var/www/html directory for testing. If you see that zendoptimizer has basically succeeded <? PHP Phpinfo (); ?> Complete. |
|
|
- {
Function onclick () { Function onclick () { Function onclick () { Try {estimate (this, 'HTTP: // forum.csdn.net/pointforum/forum/estimatereply.aspx? Forumid = Response & topicid = Response & postdate = 2009-11-13 + 09% 3a14% 3a41 & replyid = 61182842 & type = 0 & V = 13 '); logclickcount (this, 113 );} catch (Ex) {} return false; } } } } "Href =" javascript:; "> for me
|