LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-18-2012, 07:18 AM   #1
snooze1
Member
 
Registered: Sep 2011
Posts: 34

Rep: Reputation: Disabled
Upgrading to PHP 5.2


Following this guide below doesn't seem to work for me.

http://wiki.centos.org/HowTos/PHP_5.1_To_5.2

When I type yum update on root it says
"# yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
Reducing CentOS-5 Testing to included packages only
Finished
277 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update"
 
Old 01-18-2012, 07:33 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

Since you're using CentOS, follow this webtatic repo how-to,
go to almost bottom of page under section PHP 5.2.17

I did it and it works without any problems.


good luck
 
Old 01-18-2012, 07:45 AM   #3
snooze1
Member
 
Registered: Sep 2011
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by lithos View Post
Hi,

Since you're using CentOS, follow this webtatic repo how-to,
go to almost bottom of page under section PHP 5.2.17

I did it and it works without any problems.


good luck
# rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
Retrieving http://repo.webtatic.com/yum/centos/5/latest.rpm
warning: /var/tmp/rpm-xfer.ncGWpR: Header V3 DSA signature: NOKEY, key ID cf4c4ff9
Preparing... ########################################### [100%]
package webtatic-release-5-2.noarch is already installed
# yum --enablerepo=webtatic install php
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
Reducing CentOS-5 Testing to included packages only
Finished
410 packages excluded due to repository priority protections
Setting up Install Process
Package php-5.1.6-27.el5_5.3.x86_64 already installed and latest version
Nothing to do
# yum --enablerepo=webtatic update php
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* rpmforge: apt.sw.be
Reducing CentOS-5 Testing to included packages only
Finished
410 packages excluded due to repository priority protections
Setting up Update Process
No Packages marked for Update
 
Old 01-18-2012, 09:22 AM   #4
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
well, from this I can only see that you have YUM messed up Repo's

try this:
Code:
# yum --disablerepo=*  --enablerepo=webtatic --exclude=php*5.3* check-update php
It's written there to exclude PHP v5.3 so you should do that.

If still no PHP is found, then try deleting YUM repo info
Code:
# yum clean all

then

# yum repolist all
and take a look at this post where yum has troubles,
or maybe yum how-to if you want more to know about yum.

It seems to me that "webtatic" repo is not searched for packages so you get
"No Packages marked for Update"
because only "rpmforge: apt.sw.be" repo is searched.

good luck
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
PHP Warning after upgrading from PHP 5.2.1 to 5.3.1 on CentOS rossie Linux - Newbie 4 12-20-2009 03:18 PM
upgrading php 5.2.0 to 5.2.6 kaplan71 Linux - Software 2 10-23-2008 04:56 PM
upgrading PHP Tony.Reid Linux - Server 12 11-17-2007 03:54 AM
Upgrading PHP?!? gldfngr Linux - Software 1 08-25-2005 10:32 AM
Upgrading php 4.2.2 to 4.3.2 maceking Linux - Software 1 06-30-2003 03:02 PM


All times are GMT -5. The time now is 06:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration