PHP 5.3


All our servers support (i.e. are capable of running) both PHP 5.2 and PHP 5.3 (with a few exceptions listed below). The default version is 5.2.x but you can follow the directions below to use PHP 5.3.x instead.

Before switching, 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

Follow the directions below for the hosting plan you have.

We currently have 5.3.10 (or higher) installed on all servers. A handler for PHP 5.3 is added to our shared 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.



By default, ADELINAhost supports PHP 5.2 on its cPanel hosting servers. In order to switch to PHP 5.3, you need to create a blank file named usealtphp (without any extension) and place it in the Home Directory (/home/<directory-name>) of your cPanel hosting package.

You may switch back to PHP 5.2 by simply deleting the usealtphp file.

Leave a Reply