When we made the decision to install PHP5 we were made aware of a large number of scripts that weren’t being updated by vendors immediately that would not work with PHP5.
Rather than force all of our users to find new scripts, or face their website being broken we installed PHP5 alongside PHP4 to give users the choice, with a view to phasing out PHP4 over a period of time, PHP5 is now the default on most of our servers (Hufflepuff is the only exception to this).
For users on Hufflepuff you should be following the instructions below to test your scripts and applications with PHP5, users of other servers who have reverted back to PHP4 (away from the default PHP5) should be aware that we will stop supporting PHP4 in the coming months and should also be testing with PHP5.
You should be testing PHP5 with your current sites by following the details below, if everything works correctly – continue to run PHP5. If you encounter problems then:
- Try to diagnose them
- Contact the script provider to see if they have a PHP5 compatible version.
Instructions for enabling PHP5
- Locate the file “.htaccess” in your public_html folder (note the . at the beginning of the name).
- If the .htaccess doesn’t exist then create it.
- Add the following lines to your .htaccess:
AddHandler application/x-httpd-php5 .php
AddType application/x-httpd-php5 .php