LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to upgrade php from version 5.1.6 to version 5.3.6 on Centos (https://www.linuxquestions.org/questions/linux-server-73/how-to-upgrade-php-from-version-5-1-6-to-version-5-3-6-on-centos-895995/)

Manpasand 08-07-2011 12:22 AM

How to upgrade php from version 5.1.6 to version 5.3.6 on Centos
 
I am trying to upgrade php 5.1 to 5.2 in Linux Virtual Dedicated Server after reading the article. BUT when I give command "yum update" following error shows:

Quote:

Config Error: File contains parsing errors: file://///etc/yum.repos.d/utterrambings.repo
[line 4]: /i386/

Should I delete it and install new one? If yes, how?

My second question is, should I upgrade from 5.1.6 to 5.3.6?

Tks.

frieza 08-07-2011 11:14 PM

why don't you post the contents of your /etc/yum.repos.d/utterramblings.repo file so we can look at it? can't help ya much without that information.

sandeep.sp 08-09-2011 01:54 AM

Hi,

CentOS repository now provied php 5.3.

All you have to do is run this command

yum install php53

It will upgrade to php 5.3. If you need to install any module for php5.3 just install it by mentioing php53


Best,
Sandeep


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