LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 08-07-2011, 12:22 AM   #1
Manpasand
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 08-07-2011, 11:14 PM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233

Rep: Reputation: 406Reputation: 406Reputation: 406Reputation: 406Reputation: 406
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.
 
Old 08-09-2011, 01:54 AM   #3
sandeep.sp
LQ Newbie
 
Registered: Jul 2011
Posts: 13

Rep: Reputation: Disabled
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
 
  


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
How to upgrade php from version 5.2.10 to version 5.3.3 on Centos ashlule1 Linux - Newbie 3 10-18-2010 02:55 AM
Upgrade from PHP Version 4.3.9 to PHP 5.2 on CentOS nuttynibbles Linux - Software 10 06-15-2010 02:35 PM
Version upgrade in centos uwa45 Linux - General 2 12-16-2009 07:49 PM
Upgrade CentOS 4.4 to a specific update version adebnar Linux - Newbie 1 07-28-2008 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:38 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
Open Source Consulting | Domain Registration