?
Solved

Additional repos/install php

Posted on 2012-03-14
5
Medium Priority
?
403 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 1000 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 1000 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 500 total points
ID: 37723375
download php 5.3 rpm and install it
0
 
LVL 5

Assisted Solution

by:1ly4me
1ly4me earned 500 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

Containers & Docker to Create a Powerful Team

Containers are an incredibly powerful technology that can provide you and/or your engineering team with huge productivity gains. Using containers, you can deploy, back up, replicate, and move apps and their dependencies quickly and easily.

Question has a verified solution.

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

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

777 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