Installing PHP5.2 on CentOS5.2
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.
Installing php5.2 on your CentOS, you have to download it from jasonlitka's repository
For enabling it run the following commands:
#touch /etc/yum.repos.d/utterramblings.repo
#echo '[utterramblings]' >> /etc/yum.repos.d/utterramblings.repo
#echo "name=Jason's Utter Ramblings Repo" >> /etc/yum.repos.d/utterramblings.repo
#echo 'baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/' >> /etc/yum.repos.d/utterramblings.repo
#echo 'enabled=1' >> /etc/yum.repos.d/utterramblings.repo
#echo 'gpgcheck=1' >> /etc/yum.repos.d/utterramblings.repo
#echo 'gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka' >> /etc/yum.repos.d/utterramblings.repo
After just update your php
#yum update php
7 Comments:
Thanks for posting this.
Just as and FYI, I am running CentOS 5.3, and it installed just fine.
Nick
thanks
great shared
works here too, centos 5.3
Awesome !! just tried it... it worked like a charm..
Thanks alot
you so Much!
Seem to be not working in centos 5.4. It returns a error "cannot find a valid baseurl for repo: utterramblings"
Ecxellent... upgraded very easily with no hassle on my CentOs 5.4 server with 1and1
Post a Comment
Subscribe to Post Comments [Atom]
<< Home