All hostgator hosting plan are now using PHP5. The older version of PHP4 it’s no longer supported/offered in hostgator shared hosting. if you check the hosted the share hosting specifications, you will find that PHP 5 is the only option!
I double confirm this from Hostgator cPanel, i am currently using PHP version 5.2.6
this means the old hosting server (previously using php4) is now upgraded to PHP5 as well.
This means, you are getting PHP five by default. If you are going to install any custom PHP scripts, do make sure they are supported in php5 environment.
Tips: Alternatively, use .htaccess editing to enable php5
Add in these line into your .htaccess file:
AddHandler application/x-httpd-php5 .php























