PHP 5.3 Print

  • 15

All our servers support PHP 5.3. The installed version is 5.3.10 or higher on most servers.

You may need to select PHP 5.3 to utilize it. Please see instructions below for your hosting plan.

Our cPanel have PHP 5.2 installed as default, and you must request PHP 5.3 by creating a ticket.


Switching Versions of PHP

Before 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.

 

Please keep in mind: Using PHP 5.3 will break any sites requiring Zend or ioncube that were encoded with PHP 5.2. We recommend you check with the application developers to see if they have a 5.3 version available.

 


How to Enable PHP 5.3

Follow the directions below for the hosting plan you have.

Shared

We currently have 5.3.10 (or higher) installed on all shared and reseller servers.

New Accounts

Accounts provisioned after May 1, 2013, will have PHP 5.3 as the default, and no action is needed to select PHP 5.3 as your default hypertext preprocessor.

Legacy Accounts

For Shared accounts provisioned before May 1, 2013 provisioned before May 16, 2013, which still use PHP 5.2 as the default, a handler for PHP 5.3 is added to those servers for those who wish to utilize it. In order to utilize this handler, you will need to add the following code to your .htaccess file:

# Use PHP 5.3
AddType application/x-httpd-php53 .php

You can edit your .htaccess file via FTP or through cPanel's File Manager, whatever is more convenient for you. For more information on how to do that, you may want to read our article on How to Edit Your .htaccess File.

 


Things to Keep in Mind

If 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.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution