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