Solved

Additional repos/install php

Posted on 2012-03-14
5
388 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
Comment Utility
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
Comment Utility
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
Comment Utility
download php 5.3 rpm and install it
0
 
LVL 5

Assisted Solution

by:1ly4me
1ly4me earned 125 total points
Comment Utility
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
Comment Utility
thanks all, this was resolved in other ways
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

16 Experts available now in Live!

Get 1:1 Help Now