Use yum in centos 5.x to Upgrade PHP to 5.2.x)

Source: Internet
Author: User
Tags gpg
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-y
Yum install libmcrypt-y

Solution to centos g ++ Error

Centos 5.4 is reported:

G ++: If the command is not found, run the following command to install g ++:

Yum install gcc-C ++ compat-gcc-32 compat-gcc-32-c ++

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.