RSS 2.0  Frustrated by Design
# Wednesday, September 03, 2008

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

Wednesday, September 03, 2008 5:30:35 PM (Atlantic Standard Time, UTC-04:00)  #    Comments [0] - Trackback
Open Source
All comments require the approval of the site owner before being displayed.
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Live Comment Preview
Navigation
About Me
    Joe Stagner
Follow me on Twitter.

View Joe Stagner's profile on LinkedIn

MSDN

Search
RSS/Subscribe
  RSS 2.0 | Atom 1.0 | CDF  
Archive
<January 2009>
SunMonTueWedThuFriSat
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567
Contact
Send mail to the author(s)  Send me email.
Statistics
Total Posts: 446
This Year: 2
This Month: 2
This Week: 2
Comments: 1447
Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2009
Joe Stagner
Sign In
All Content © 2009, Joe Stagner