Solved

Additional repos/install php

Posted on 2012-03-14
5
391 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
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…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now