Joe On ASP.NET

Updating my Centos 5.2 System to use PHP 5.2.6

Centos

I'm working on my demos for ZendCon and updating a PHP Chat application built on the Microsoft Ajax Client Libraries and the PHPMSAJAX codeplex project.

Since I want to use a JSON serializer and PHP 5.2 has one built in, I wanted to upgrade the default PHP version on CentOS (5.1) to 5.2.

To do this, I needed to install from an alternate repository maintained by "Remi" .

He has a repository for many distros, but since I'm updating CentOS, I used the RedHat ES5 repository.

Here are the commands you need to run.

wget http://download.fedora.redhat.com/pu...5-2.noarch.rpm
wget http://rpms.famillecollet.com/el5.i3...emi.noarch.rpm
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

Ater these steps the .rpm(s) are you your system but that not installed and active.

To "install" them do this.....

yum --enablerepo=remi update php

PHP 5.2.6 should now be installed.

Check by running this command in a console.

# php -v

The output should indicate the latest version of PHP.

To see the results from phpinfo(); you'll probably have to restart Apache. (Or at least I did.)

Comments

Recent URLs tagged Centos - Urlrecorder said:

Pingback from  Recent URLs tagged Centos - Urlrecorder

# May 4, 2009 1:46 AM

baseball caps said:

the style we mainly found was Stencil Graffiti Art as well plenty of Murals and other similar intensive artworks. Not just text and type.

# July 23, 2011 3:36 AM

Abercrombie outlet sale said:

I am really appreciative to the writer of this post for doing this fair and informatory article here for us. We really appreciate ur attempt. Keep up the charming process.

# August 9, 2011 5:02 AM

Canada Goose sale said:

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog.

# August 11, 2011 9:11 PM

hooher tod said:

Yes there should realize the reader to RSS my feed to RSS commentary, quite simply

# September 14, 2011 5:34 AM

Monster beats studio said:

You're probably sick of hearing it, but you've got a really well written blog. Keep up the the great work.

# September 15, 2011 9:41 PM

cheap True Religion jeans said:

You raise many questions in my head; you wrote a good post, but it is also thought provoking, and I will have to ponder it some more; I will return soon.

# September 16, 2011 5:17 AM

ssdsd said:

dddddddddddddddddddd

# December 20, 2011 9:38 AM

sunney said:

I just got to this amazing site not long ago. I was actually captured with the piece of resources you have got here. Big thumbs up for making such wonderful page!

# April 1, 2013 2:52 AM

myfring@hotmail.fr said:

I will right away grasp your rss as I can not in finding your email subscription link or e-newsletter service. Do you have any? Please permit me recognise in order that I could subscribe. Thanks.

# April 18, 2013 3:24 AM