CauseParallels Operations Automation supports both PHP4 and PHP5 for Linux Shared Hosting - PHP4 as mod_php and PHP5 as CGI.
By default, all .php files are processed by mod_php, and to trigger CGI processing files must be named as .php5.
Renaming files could be inconvenient and one can use a special .htaccess file to switch PHP processing mode to CGI.
ResolutionTo enable PHP5 for processing .php files in some directory, put .htaccess file with the following content there:
AddType application/x-httpd-php5 .php
Action php5-cgi-script /cgi-php5/php-cgi
AddHandler php5-cgi-script .php
This file affects nested directories as well.
NOTE: PHP5 support should be enabled on the webspace.