Need help upgrading an old website to php 5.3

I have an older website created (I think) in Dreamweaver.  It was written in php 5.0.  GoDaddy, my cpanel hosting account that I'm trying to move it to, is telling me that a php5.0 website, has to be upgraded to 5.3 or higher because they don't offer 5.0 anymore.
Can anyone tell me how to easily and successfully upgrade a 5.0 to 5.5, or if you know of a hosting company that still uses 5.0, I could go that route too.
creativenetworksAsked:
Who is Participating?
 
Ray PaseurCommented:
OK, I'm going to step away from this question because "I need directions step by step" is not a question with an answer -- it's a requirement for extensive professional services, and we can't do that for free in an online forum like E-E.  You might want to ask SiteGround to give you a price quote for the move, with the defined work product being a working web site.  If they cannot give you a price quote (in US Dollars) consider getting another host that has the ability to quote a firm-fixed price for the work.  

Also, you might want to get a lawyer to write a sternly-worded letter to your ex-employee.  This kind of behavior is called "tortious interference" with your right to pursue your business, and you may be able to obtain a judgement against the bad actor for the costs of the conversion, as well as damages for lost business.  Once confronted with the prospects of legal action, your ex-employee might want to cooperate rather than risk the conflict.

Best of luck, ~Ray
0
 
Ray PaseurCommented:
I think you want to make the PHP upgrades.  There are a lot of security fixes along the way, and you don't want to be without those.

PHP has a changelog that tells what you must do to upgrade your PHP scripts.  PHP 5.6.6 is current.  You can read this log and follow its guidance.  It will keep you on track.  That's the good news.
http://php.net/ChangeLog-5.php

Now for the not-so-good news.  You may have a bit of work to get things up-to-date.  PHP 5.0.0 is over ten years old.  Even PHP 5.3 dates from 2009 and is mostly considered to be obsolete today.  So you may have a lot of things to check!

Here is what I would consider: Set up a parallel test system.  Migrate it to the latest PHP version, set the error_reporting() to the highest possible levels and run your unit tests.  Start fixing the errors that appear.  There may be some configuration settings that need to change.   There may be some code that needs to be changed in a system that is that old.  Register_Globals and Magic_Quotes are two security-related issues that have created a lot of work for developers over the years.  Some of the antiquated session functions are causing frequent issues today.  And PHP is doing away with MySQL support, so that has to change, too.  You will probably want to move forward with the assumption that your external data is now all UTF-8.

With a parallel test system you can address these issues one at a time, instead of having to try to move the site forward all at once.
0
 
creativenetworksAuthor Commented:
Thanks, you give me all the info except how to upgrade it.  Because the site is being comandeered by an ex-employee, he's not letting us have access to it.  So I'm taking the files I have, which are current, and moving the to siteground.  They still support 5.0 and lower, so this resolves my immediate issue.  

Your suggestion to parallel it is awesome.  But being that I'm not much of an HTML, or PHP guy, I'm looking for directions step by step.

Appreciate all you can send my way.
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
creativenetworksAuthor Commented:
Thanks Ray.  Appreciate the input.  I was told there are conversion tools out there, but I can't seem to find any, hence my EE Question.  I'm not a HTML guru but have been a certified network engineer for over 20 years.  The amount of money we are bringing in on this project doesn't justify hiring a specialist.  The end game sadly will be to just have this site put on a host that still supports 5.0 (they are out there).

It's what I get for being a nice boss.  Tried to give a guy some sidework, then he decides he needs to go to Disneylands birthday instead of work.  I said no, he said I quit, and it's been an ongoing battle ever since.  Hey live and learn I say.

Idiots abound and I guess this is my punishment for hiring this guy.

Again, appreciate the input.
0
 
Dave BaldwinFixer of ProblemsCommented:
I have never seen any 'conversion tools' to upgrade code from PHP 5.0 to PHP 5.3 or beyond.  Hosts that still provide support for PHP 5.0 are not keeping up with security patches.  It is likely that even they will eventually upgrade.  Then you will have the problem all over again.
0
 
creativenetworksAuthor Commented:
I had to move the website to siteground.com.  They still support php 5.0.  I had an issue with the database in that the old code was pointing directly to the existing website.  When I moved it, we had to point it to the new website, but other than that, it worked great.  Sorry for the delay in awarding points.
0
 
Ray PaseurCommented:
In case your experience with SiteGround turns out to be like my experience with SiteGround, you might want to consider using one of the hosting companies that is supportive of the PHP community.
http://php.net/thanks.php
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.