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
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
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.
Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

LVL 51

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

What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

Question has a verified solution.

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

Fine Tune your automatic Updates for Ubuntu / Debian
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
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…
The viewer will learn how to count occurrences of each item in an array.

626 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