I need to update PHP from 5.1.6 to 5.2.?? to install some application software on my Linux webserver

Posted on 2010-08-13
Last Modified: 2013-12-13
I have php 5.1.6 and need to update if possible and if it is safe. I am a novice and know nothing about the dangers of this? I have some limited skills with SSH and other tools. Currently my web site and server is working fine but I do need to add a few software tools that must work with php 5.2 +   My website is a Joomla 1.5.2 install if that helps.

I have PLESK 8.6 and do not know if once I update php do I need to update the PLESK or if that is irrelavant? I have been told that as soon as I update this PHP past 5.1.6 I loose all PLESK support from Parallels. Which is fine I have not needed them for 3 years anyway.

I have heard that YUM could do this and it might be simple. Does anyone know what I can do to get this done safely without messing up everything that is existing and working on my websites database. Please advise what I can do........ a bit worried !
Question by:ruavol2
LVL 17

Accepted Solution

psimation earned 100 total points
ID: 33435742
If you use CentOs or other RH derivatives, then YUM is your safest way to upgrade. You will however need to add additional repositories to yum, since 5.1.6 is the latest "official" release covered by standard OS.

LVL 110

Assisted Solution

by:Ray Paseur
Ray Paseur earned 100 total points
ID: 33436609
All the usual caveats - back everything up, etc.  That said, my hosting company made this change unannounced and it had zero effect on my applications.  However I do not use Plesk.  You might want to consider a parallel test environment?
LVL 32

Assisted Solution

DrDamnit earned 200 total points
ID: 33437747
I have used Plesk on and off for years. It is fragile. It is probably the most klduge of all the control panels, and this eventually forced me to move to another hosting provider who was using cPanel.

If you upgrade PHP, there is a very good chance that you will break Plesk. Ergo, Ray_paseur has given you execellent advice: backup the system.

when you do the upgrade, you have to make sure you don't just install PHP blindly. You have to maintain all the original paths and compile options or it will break plesk.

It is well worth your time to contact Plesk and ask them if the upgrade is OK to do. They might charge you to upgrade it for you, but that is WELL worth not having to deal with downtime or lost domains in Plesk, etc...

Proceed with caution.
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

LVL 50

Assisted Solution

by:Steve Bink
Steve Bink earned 100 total points
ID: 33439248
Another warning about toying with Plesk.  Fragile is an understatement.  Without Plesk, upgrading PHP is extremely simple.  If you have the option, I highly recommend letting your host do this for you.
LVL 32

Expert Comment

ID: 33441477
I highly recommend moving to cPanel if that's an option....

Author Comment

ID: 33448669
Good stuff. I use now and literally last Thursday. I got the word that staff are no longer allowed to do any upgrades with PHP users who have PLESK.  I  am going to call Parallels and see what they would charge to gaurantee the work.

I really want to switch to cPanel but financially it will add another $1800 to my operating budget. has some of the best support I have ever seen. You can call 24/7 and get a live body that can help.

Does anyone know of a ISP who is comparable in support but has good contracts with ISPs that might save me a bit. I am currently looking at a jump of $140 extra a month to get the lowest package at that gets me cPanel. I think I pay $65 per month currently. I do that as I am developing software and have not had much in extra revenue to play with.

Any support is greatly appreciated and thank you for your always timely, always professional and exceptionally informative advice.
Rob Burdine
LVL 32

Assisted Solution

DrDamnit earned 200 total points
ID: 33448723 $7.95 / month unlimited bandwidth, unlimited space, 2000 databases, it's quite ridiculous. 24 / 7 support via chat. Never had a problem with them. I run a site that has 100,000+ unique visitors / month.

Author Comment

ID: 33448916
I am assuming that is a shared account only and not a VPS type account. I have linux and use Joomla 1.5.
I had a reason I had to go with the VPS. I cannot remember off the top of my head. Something about the VPS services I had to have vs the Shared account capabilities. I do not remember but I had to switch to VPS. I think it was due to the OS or something related to that?
I have heard of and I hear they are fantastic for Joomla installations and offer great service. The one difference is I am still fairly new to the web development world and constantly need support where a phone call away can save me hours of explaining and emails back and forth. I will check them out anyway. To see what they offer as a solution.

Author Closing Comment

ID: 33487690
Thanks for your help.

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

749 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