Currently, WordPress works on both PHP 4 and PHP 5 based platforms. However, soon WordPress will not longer support PHP 4. As you're probably aware WordPress 3.0 is soon to be released to the public. It has been said that many features will be coded to run in PHP 5 only. Some existing features, such as advanced timezone support already rely on PHP 5.
As of August 2008, PHP 4 stopped being developed. So there are no more improvements, patching of security holes or efforts to fix any bugs. So, you should seriously consider upgrading to PHP 5 for WordPress security and support.
You're probably wondering if switching to PHP 5 would cause any serious damage to your existing website. The latest version of WordPress is developed to run in PHP 5. As long as you don't have any other applications in place that require PHP 4, you should be okay.
If you're on Linux shared hosting at Godaddy, it's very simple to upgrade to PHP 5. To make yourself more comfortable with switching, Godaddy makes it super easy to change it back to PHP 4 with a few simple clicks. So it's certainly worth a try.
How to determine what PHP version you have...
Follow these step to see which version you currently have:
- Login to your Godaddy account.
- Click on "Hosting" on the left menu
- Click on "Manage Account" next your site's hosting account.
Once your Hosting home page loads, you're looking for the two indicators as shown in the image below.
#1 Indicates what Hosting Configuration you have. If it's not 2.0 or highter, you cannot upgrade to PHP 5. Please contact Godaddy and ask them to upgrade your account before proceeding.
#2 Shows you what your current PHP version is. If it's PHP 4.x, you should upgrade to PHP 5.x. When I indicate PHP 5.x that means that it's PHP 5.0 or higher. Godaddy just doesn't display the exact version number here..
Here's how to upgrade to PHP Version 5.x...
Put your mouse over "Content" located in the top navigation bar. Then click on "Add On Languages."
Once the Add On Languages page loads, check PHP 5.x and click the "continue" button. Note: You do not have to change the Installations (None or JSP/Servlets) for WordPress. Just leave that section alone.
Now click the "Update" button and you're set!
Note: It may take up to 24 hours to update, but I've found that it's pretty quick. (Sometimes within 15 minutes.)
Check back on your Hosting home page and once it says PHP Version: PHP 5.x, you're set. Now check your website. If all looks normal you should have no problems.
How to change back to PHP 4...
If for some reason your WordPress blog doesn't work or you notice some of your applications are not playing nicely with PHP 5, you can just repeat the steps above and change back to PHP 4. If you need any help, just email us.
For more information about WordPress and migrating to PHP 5, click here.
For more information about changing your PHP Language Version at Godaddy, click here.
If you followed our step, please let us know how it worked for you. Just leave us a comment below. We value your feedback.