Adds Yum Source: Yum Install PHP 5.2

Source: Internet
Author: User
Add Yum Source: Yum Install PHP 5.2

One of the reasons I like CentOS is that he has yum, and some dependencies are easy to install! But there is a drawback is that the Yum library is not the latest package, such as PHP with the official yum to install just 5.1 version, because the development needs to install PHP 5.2 or more versions, and want to install through Yum, so on-line to find a Yum install php5.2 method, posted out for everyone to share.

?

??? Install the appropriate GPG key

# RPM--import Http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

??? Create a new repo

#/etc/yum.repos.d/utterramblings.repo

??? Add the following content, save the exit is OK

[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

?

?

??? It's so easy! Oh, now you can try it.

Yum Install PHP

??? The installation is php5.2.

?

  • 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.