How To Change Your PHP Version?
Currently the default version of PHP is 5.3.x. If you want to use PHP 5.2.x or 5.4.x or if you would like to quickly change back to PHP 5.3, just add one of the following commands to your .htaccess file.
PHP 5.2
AddHandler application/x-httpd-php52 .php
PHP 5.3 (Default)
AddHandler application/x-httpd-php53 .php
PHP 5.4
AddHandler application/x-httpd-php54 .php
Note: Below is the direct PHP 5.2, 5.3 and 5.4 binary paths.
/usr/local/php52/bin/php
/usr/local/php53/bin/php
/usr/local/php54/bin/php
Temporary Note: While PHP 5.3 is listed as the default in this article, it is only setup this way on some of the servers. Are in the process of upgrading all of servers with this change, however this is a slow process. This is also true about php 5.4; it is only available on part of the servers currently. Once the server has been upgraded with the change, it will be posted. If your server has not been upgraded yet, the current default version of PHP on the server is 5.2. If you need php 5.3, please see the section above on what AddHandler to use to tell the server to use php 5.3.
PHP 5.2
AddHandler application/x-httpd-php52 .php
PHP 5.3 (Default)
AddHandler application/x-httpd-php53 .php
PHP 5.4
AddHandler application/x-httpd-php54 .php
Note: Below is the direct PHP 5.2, 5.3 and 5.4 binary paths.
/usr/local/php52/bin/php
/usr/local/php53/bin/php
/usr/local/php54/bin/php
Temporary Note: While PHP 5.3 is listed as the default in this article, it is only setup this way on some of the servers. Are in the process of upgrading all of servers with this change, however this is a slow process. This is also true about php 5.4; it is only available on part of the servers currently. Once the server has been upgraded with the change, it will be posted. If your server has not been upgraded yet, the current default version of PHP on the server is 5.2. If you need php 5.3, please see the section above on what AddHandler to use to tell the server to use php 5.3.