Note: PHP 5.3, though still available on some servers, is deprecated software. HostGator recommends updating your scripts to use the most recent version of PHP available.
Please see the instructions below for activating PHP 5.3 if it is available on your server:
Script CompatibilityBefore switching to PHP 5.3, be aware of backwards compatibility issues with scripts; Older PHP coding may not be compatible with newer versions of PHP. Using PHP 5.3 will break any sites requiring Zend or ionCube that were encoded with PHP 5.2. We recommend checking with the application developer for a 5.3 version.
Custom php.ini CompatibilityIf you are using a custom php.ini file that references PHP modules that are not available with PHP 5.3, your site may not work. Either remove the custom php.ini file (which will cause the server to use the default php.ini file for PHP 5.3), or create a php.ini file that is compatible with PHP 5.3.
For Shared and Reseller accounts which still use PHP 5.2 as the default, you can use an upgraded version of PHP by navigating to the PHP Configuration icon in the Advanced section of your cPanel. For additional information regarding this plugin please refer to the following article:
Windows Shared users can enable PHP 5.3 on their accounts via the Plesk control panel using the steps below:
- Go to the Websites & Domains tab.
- Click on the domain that requires PHP 5.3.
- Click on the Website Scripting and Security link.
- Under Web Scripting and Statistics, select the checkbox for PHP support.
- From the PHP version drop-down box, select 5.3.
- At the bottom of the page, click OK.
VPS with cPanelDo not use the Handler code listed above. Instead, you must contact us via phone or Live Chat and request that PHP 5.3 be installed.
VPS with Plesk
VPS with VZ only
VPS hosting accounts without cPanel or Plesk, which only have VZ Power Panel/Virtuozzo, do not have PHP installed. You may install any version of PHP that you want.
Linux and Windows Dedicated Servers
Linux Chilisoft ASP
PHP 5.3 is not currently available on Linux Chilisoft ASP servers. Chilisoft ASP servers only support PHP 5.2, and no new Chilisoft servers are being provisioned.