php|php3|php4|php5 file extension support
plesk does not support other file extensions then php with fastcgi.
as it supports it with mod_php, it would be great if fastcgi also does it the same way.
the fix is simple to add:
/usr/local/psa/admin/conf/templates/default/service/phpoverfastcgi.php
<IfModule mod_fcgid.c>
<Files ~ (\.(php|php3|php4|php5)$)>
SetHandler fcgid-script
FCGIWrapper <?php echo $VAR->server->webserver->apache->phpCgiBin ?> .php
FCGIWrapper <?php echo $VAR->server->webserver->apache->phpCgiBin ?> .php3
FCGIWrapper <?php echo $VAR->server->webserver->apache->phpCgiBin ?> .php4
FCGIWrapper <?php echo $VAR->server->webserver->apache->phpCgiBin ?> .php5
Options +ExecCGI
</Files>
</IfModule>
Since PHP 4 common file extension for PHP scripts is ‘.php’