Centos5.4 install php5.2.x and ZendOptimizer-3.3.9 methods to facilitate support for phpMyAdmin-3.2.2

Source: Internet
Author: User

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

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.