Solved

Additional repos/install php

Posted on 2012-03-14
5
395 Views
Last Modified: 2012-03-29
e have a 1and1.co.uk server and need to upgrade the php version from 5.1.3 to 5.3.3 however a "yum install php" fails to update anything because it can only see 5.1.3 as teh latest verion avalible.

we are aware that plesk does not support 5.3.3 but we wish to upgrade anyway (this is more a test than anything really)

what can i add to the /etc/yum.repo/something something something file to get it to update to the new php 5.3.3

Cheers
0
Comment
Question by:tetrauk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 11

Accepted Solution

by:
legolasthehansy earned 250 total points
ID: 37720915
Try these steps to upgrade to 5.3


wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
# wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
# rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

yum --enablerepo=remi update php php-*
0
 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 250 total points
ID: 37721097
Looks like it is a dead link and doesn't work anymore. Try this,

rpm -Uvh http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
yum update php
0
 

Assisted Solution

by:dubeyrupesh
dubeyrupesh earned 125 total points
ID: 37723375
download php 5.3 rpm and install it
0
 
LVL 5

Assisted Solution

by:1ly4me
1ly4me earned 125 total points
ID: 37724193
Find out which Linux version you are using, and follow the steps,
#rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
#yum –enablerepo=remi install php php-common php-pear php-pdo php-mysql php-gd php-mbstring php-mcrypt php-xml php-dom
#/etc/init.d/httpd restart
#/etc/init.d/mysqld restart

Open in new window


AskLinux
0
 
LVL 1

Author Closing Comment

by:tetrauk
ID: 37781694
thanks all, this was resolved in other ways
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SIP Trunk provider 20 143
Virtual Firewall to Filter DHCP Traffic? 23 90
Linux: disable vim auto-comment 7 168
comm diff cmp unix commands 2 15
Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question