• Entries (RSS)
  • Comments (RSS)

Installing PHP 5.2.6 on CentOS box

Posted by | Posted in CentOS, How to, OpenSource, PHP, Resources, Reviews, Tips and Tricks, Tutorials | Posted on 10-Jul-2009

Tagged Under : , , , , , , , , ,

If you want to install PHP 5.2.x instead of the PHP 1.5.6 offered with default CentOSPlus repo. Please consider installing the utterramblings repo. Setting up this repo is a breeze … just follow these steps

nano -w /etc/yum.repos.d/utterramblings.repo

(I prefer nano as I mentioned earlier in my posts but you can use vi or any other editor that you like)

Then paste the following code in the editor

[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

Hit Ctrl+X and it will prompt you to save this file, you need to confirm this with punching Y

Now comes the last step, type the following and everything will be updated :)

yum update

Enjoy the latest packages :)

Note: PHP 5.3.0 is still not available in stable repos because the Zend Optimizer is still in Beta for that particular version.

Share This:
  • Facebook
  • Digg
  • Google Bookmarks
  • Sphinn
  • del.icio.us
  • Fark
  • LinkedIn
  • Live
  • MySpace
  • StumbleUpon
  • Technorati
  • Yahoo! Buzz
  • RSS

Related Posts (auto suggestions based on tags)

Comments

1 comments posted on Installing PHP 5.2.6 on CentOS box

  1. [...] Installing PHP 5.2.6 on CentOS box [...]

Post a Comment

Get Adobe Flash playerPlugin by wpburn.com wordpress themes