LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Updating php via ssh and Yum: different repository? (https://www.linuxquestions.org/questions/linux-server-73/updating-php-via-ssh-and-yum-different-repository-4175439587/)

tex1820 12-01-2012 09:27 AM

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

Snark1994 12-03-2012 10:54 AM

What does

Code:

ls -l /etc/yum.repos.d/CentOs-Testing.repo
give you?

jsaravana87 12-04-2012 04:45 AM

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

http://www.mellzamora.com/install-ap...mi-repository/

jsaravana87 12-04-2012 04:51 AM

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/

jsaravana87 12-04-2012 04:55 AM

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"]


All times are GMT -5. The time now is 06:52 PM.