LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-10-2010, 01:47 AM   #1
nidhin
LQ Newbie
 
Registered: Aug 2009
Posts: 9

Rep: Reputation: 0
Unhappy how to upgrade php 5.1.X to 5.2.X ?


Hi,

I need to upgrade php 5.1.X to 5.2.X in CentOS release 5.4. how can i do it using yum.

Thanks in advance

Regards,
Nidhin k j
 
Old 05-10-2010, 03:25 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
http://www.jasonlitka.com/yum-repository/

php-5.2.11-jason.1.i386.rpm , Jasonlitka repo:
http://www.jasonlitka.com/media/EL5/i386/

..
 
Old 05-10-2010, 07:46 AM   #3
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
php-5.2 is also available in the centos testing repo:
Code:
yum --enablerepo=c5-testing list updates php\*
 
1 members found this post helpful.
Old 05-10-2010, 08:45 AM   #4
nidhin
LQ Newbie
 
Registered: Aug 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I fixed issue using this

http://www.freshblurbs.com/install-p...-5-2-using-yum

vi /etc/yum.repos.d/centos-test.repo and enter following lines in it:

Code:
[c5-testing]
name=CentOS-5 Testing 
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
You can remove Litka's repo from /etc/yum.repos.d if you do that (Jason, currently, has the same 5.2.6 version of PHP, though).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade PHP 5.1.6 to PHP 5.2.6 in Fedora core 6 sushant_d84 Linux - Newbie 3 07-16-2008 01:08 PM
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 07:17 AM
Please help me upgrade PHP from 4.2.2 to 5.1.6 trewsfan Linux - Software 1 09-13-2006 01:01 AM
Upgrade PHP objorkum Slackware 5 03-25-2005 01:14 PM
upgrade PHP Mark007 Slackware 1 02-03-2005 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration