2010-09-12

 

Easier way to get PHP 5.2 on CentOS 5x

Got this from the CentOS Wiki:

Step 1: Create the file /etc/yum.repos.d/CentOS-Testing.repo with the following contents:

# CentOS-Testing:
# !!!! CAUTION !!!!
# This repository is a proving grounds for packages on their way to CentOSPlus and CentOS Extras.
# They may or may not replace core CentOS packages, and are not guaranteed to function properly.
# These packages build and install, but are waiting for feedback from testers as to
# functionality and stability. Packages in this repository will come and go during the
# development period, so it should not be left enabled or used on production systems without due
# consideration.
[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
includepkgs=php*

Step 2: Run a "yum update"

Step 3: Enjoy PHP 5.2.x !!

Comments:
Dear Nico
Thanks for your post on my blog. Do you have Caroline's email address?
Donn Edwards

vmusic at spamcop dot net

-please don't post this comment-
 
Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?