LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 12-01-2012, 09:27 AM   #1
tex1820
LQ Newbie
 
Registered: Dec 2012
Posts: 1

Rep: Reputation: Disabled
Question Updating php via ssh and Yum: different repository?


Hello, I am trying to update php on my Dodaddy server running CentOS. I first tried
Code:
yum upgrade php
However it says that it is already up to date. I then attempted to fallow the tutorial on this blog post about updating:

http://support.godaddy.com/godaddy/updating-your-centos-servers-php-version/comment-page-1/?pc_split_value=1

However when I try to save the new repository I am given the error

Code:
“/etc/yum.repos.d/CentOs-Testing.repo” E212: Can’t open file for writing
I thought it may have been a permissions thing but I am logged in as the root. I am really new to Linux so it may be something simple. Any ideas?

Thank you!

James S
 
Old 12-03-2012, 10:54 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
What does

Code:
ls -l /etc/yum.repos.d/CentOs-Testing.repo
give you?
 
Old 12-04-2012, 04:45 AM   #3
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 548
Blog Entries: 5

Rep: Reputation: Disabled
You can upgrade php to latest release 5.4 using external repository .Look after the link

http://www.mellzamora.com/install-ap...mi-repository/
 
Old 12-04-2012, 04:51 AM   #4
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 548
Blog Entries: 5

Rep: Reputation: Disabled
I Guess you are running Centos 5.x series.Latest release of Centos 6.3 you could find php version 5.3.3.Look after the below link to upgrade php using external additional repository


http://www.mellzamora.com/install-ap...mi-repository/
 
Old 12-04-2012, 04:55 AM   #5
arun5002
Member
 
Registered: Aug 2011
Location: Chennai,India
Distribution: Redhat,Centos,Ubuntu,Dedian
Posts: 548
Blog Entries: 5

Rep: Reputation: Disabled
I Guess you are running Centos 5.x series.Latest release of Centos 6.3 you could find php version 5.3.3.You can even install find current release of php version 5.4.x using Remi reposiory .Look after the below link to upgrade php using external additional repository


http://www.mellzamora.com/install-ap...mi-repository/[COLOR="Silver"]

Last edited by arun5002; 12-04-2012 at 04:57 AM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
updating php using "yum update php" chetanmadaan Linux - Newbie 9 07-07-2010 10:20 PM
yum fails with error: Cannot retrieve repository metadata (repomd.xml) for repository dmendonsa Fedora 6 02-10-2010 07:23 PM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM
CentOS' YUM repository not updating? guest cAos 3 03-19-2005 03:57 AM
after updating RHEL AS 4 w/ CentOS' YUM repository.... guest cAos 2 03-17-2005 10:53 PM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration