LinuxQuestions.org
Help answer threads with 0 replies.
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 07-07-2010, 07:02 AM   #1
chetanmadaan
Member
 
Registered: Sep 2009
Posts: 30

Rep: Reputation: 15
updating php using "yum update php"


I am using this command via ssh on my godaddy vps and receiving a no update available error.

i talked to godaddy and they said there is no update available in the repository.

so... is there another way i can use to update php5.

Thanks,

Chetan
 
Old 07-07-2010, 07:03 AM   #2
rsciw
Member
 
Registered: Jan 2009
Location: Essex (UK)
Distribution: Home: Debian/Ubuntu, Work: Ubuntu
Posts: 206

Rep: Reputation: 44
php.net
download
install
 
Old 07-07-2010, 07:29 AM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Linux Mint, Ubuntu
Posts: 1,504

Rep: Reputation: 325Reputation: 325Reputation: 325Reputation: 325
Since you're using yum, I'm assuming your distro is Fedora (or possibly CentOS). You could look in koji for an update, then download it and install via the rpm command.
 
Old 07-07-2010, 07:34 AM   #4
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Lightbulb

Download PHP from here.

Follow the steps mentioned in this link, get back to us if you still face any error.
 
Old 07-07-2010, 07:48 AM   #5
chetanmadaan
Member
 
Registered: Sep 2009
Posts: 30

Original Poster
Rep: Reputation: 15
thanks all for so many replies so far. i am on Centos and i am really looking for the best solution.

i mean the problem is last time i ran a chown command on / directory (the complete server) and then we have to get a new one... this time we have done a lot of changes and things on the server which i obviously don't want to redo. so anything which is strong enough and a solid solution would be helpful.
 
Old 07-07-2010, 01:38 PM   #6
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by chetanmadaan View Post
thanks all for so many replies so far. i am on Centos and i am really looking for the best solution.

i mean the problem is last time i ran a chown command on / directory (the complete server) and then we have to get a new one... this time we have done a lot of changes and things on the server which i obviously don't want to redo. so anything which is strong enough and a solid solution would be helpful.
I already gave you a STRONG solution. Try it and paste the problems here.
 
Old 07-07-2010, 02:12 PM   #7
chetanmadaan
Member
 
Registered: Sep 2009
Posts: 30

Original Poster
Rep: Reputation: 15
Vikas,

i don't have an option to get into problems.
i have to two options right now.

1. get the php updated.
2. get the php updated.
 
Old 07-07-2010, 03:34 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
this is Godaddy right ?
so i am guessing that the server is running the VERY OLD AND DEAD fedora 6

there is NO way to update in easily on fedora 6

you might be able to build it BUT you will still need to install the devel rpm's for fedora 6 -- by hand and NOT with yum

on fedora 6 forget about using yum --is is DEAD and will never work.

can you post the output of this command
Code:
uname -r
you might need to be root. this will give us some info on the os and it's version

Last edited by John VV; 07-07-2010 at 03:35 PM.
 
Old 07-07-2010, 03:40 PM   #9
chetanmadaan
Member
 
Registered: Sep 2009
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by John VV View Post
this is Godaddy right ?
so i am guessing that the server is running the VERY OLD AND DEAD fedora 6

there is NO way to update in easily on fedora 6

you might be able to build it BUT you will still need to install the devel rpm's for fedora 6 -- by hand and NOT with yum

on fedora 6 forget about using yum --is is DEAD and will never work.

can you post the output of this command
Code:
uname -r
you might need to be root. this will give us some info on the os and it's version
output is: 2.6.18-028stab068.9
 
Old 07-07-2010, 11:20 PM   #10
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,298

Rep: Reputation: 102Reputation: 102
Thumbs down

Quote:
Originally Posted by chetanmadaan View Post
Vikas,

i don't have an option to get into problems.
i have to two options right now.

1. get the php updated.
2. get the php updated.
Chetan,

You have same options for 1 and 2.

First, when did I aksed you to get in problems ? I had sent you a clear cut solution to your query. Better observe the links and post back.

Second, I firmly believe the links I suggested you are quite good. Even, I installed PHP easily following that.
 
  


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
"Event Announcment: PHP | OSI Days 2010 - Asia's Largest PHP Conference" anandan1982 Linux - News 0 06-08-2010 10:24 PM
[SOLVED] Yum "Package(s) php available, but not installed. No Packages marked for update" devwink Linux - Server 9 03-11-2010 06:00 PM
weird PHP compile issue- module shows in "php -m" but not in phpinfo call hbbtstar Linux - Software 1 08-28-2009 04:14 PM
Difference betweenn "yum install" and "yum update" john lee Linux - Newbie 1 02-12-2008 12:26 AM
PHP / VideoLAN / Fedora Core Question - how can I get the PHP "exec" function to work gtrawoger Linux - Software 3 12-21-2005 07:51 AM


All times are GMT -5. The time now is 10:43 AM.

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