PHP Version Print

  • 0

All Sixu Servers have multiple versions of PHP installed. This is to ensure older websites and programs work while allowing newer programs to work as well. Currently, the default version on all hosting websites is PHP 5.2, however, PHP 5.3 is also installed. In order to set your hosting account (or a specific directory) to run on PHP 5.3 you can add the following lines to your .htaccess file:

# Use PHP5.3 as default
AddHandler application/x-httpd-php53 .php

Be sure there are two separate lines. The first line beginning with "#" is a comment. This line is not required, but it is always a good idea to document your .htaccess for future reference. The second line starting with "AddHandler" says to use PHP 5.3 for all files ending with the .php extension.

These lines should be placed in the .htaccess directory where you need PHP 5.3 to run. If all your site needs PHP 5.3, you can add this to your home directory.

Was this answer helpful?

« Back