Knowledgebase

PHP Versions

PHP 5.3 for Linux Shared and Reseller Hosting

PHP 5.3 is not the default version on all Linux Shared and Reseller hosting accounts. If you wish to change this version, you can do so by editing your .htaccess file:

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

You can edit your .htaccess file via FTP or through cPanel's File Manager, whichever method is most convenient for you. For more information on how to make this change, you may want to read the following article:

 

PHP 5.4 for Linux Shared and Reseller Hosting

PHP 5.4 is the default version on all Linux Shared and Reseller hosting accounts. If you wish to change this version, you can do so by editing your .htaccess file:

# Use PHP 5.4
AddHandler application/x-httpd-php54 .php

You can edit your .htaccess file via FTP or through cPanel's File Manager, whichever method is most convenient for you. For more information on how to make this change, you may want to read the following article:

PHP 5.4 for VPS and Dedicated Servers

For VPS with cPanel and Dedicated Servers, SiveHost offers the latest stable version of PHP 5.4. Currently, PHP 5.4.24 or higher is available. Please contact SiveHost through a support ticket for additional details.

Was this answer helpful?

 Print this Article

Also Read

How to Edit Your .htaccess File

The .htaccess file contains directives (instructions) that tell the server how to behave in...

How to open a port in the firewall on CentOS or RHEL

Out of the box, enterprise Linux distributions such as CentOS or RHEL come with a powerful...

How to Copy Files to a Remote System (ftp)

How to Copy Files to a Remote System (ftp)  

How to run an MTR

MTR (My traceroute) allows you to constantly poll a remote server. This diagnostic tool combines...