Hi...
I don't know if anyone need this, but:
I changed the fastcgi config in my RC2 so that .php and .php5 - files are executed by the php5-interpreter and .php4 - files by php4.
This has to be changed in /etc/apache2/mods-available/fastcgi.conf. On my server the file looks like this:
Code:
<IfModule mod_fastcgi.c>
FastCgiWrapper On
FastCgiIpcDir /var/lib/apache2/fastcgi2
FastCgiConfig -minProcesses 1 -maxProcesses 10 -singleThreshold 100
#-killInterval 300 \
#-autoUpdate \
#-idle-timeout 240 \
#-pass-header HTTP_AUTHORIZATION
FastCgiServer /var/www/fcgi/master/php4-fcgi-starter -user vu2000 -group vu2000
#
# PHP4 SUPPORT
#
AddHandler application/x-httpd-php4 .php4
<Location /php4/php4-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action application/x-httpd-php4 /php4/php4-fcgi-starter
AddType application/x-httpd-php4 .php4
#
# PHP5 SUPPORT
#
AddHandler application/x-httpd-php5 .php .php5
<Location /php4/php5-fcgi-starter>
SetHandler fastcgi-script
Options +ExecCGI
</Location>
Action application/x-httpd-php5 /php4/php5-fcgi-starter
AddType application/x-httpd-php5 .php .php5
</IfModule>
(The "<Location /php
4/php5-fcgi-starter>" is because, as I said, it's RC2 - there's only php4 installed and only a /php4 ScriptAlias)
Took me some hours to figure this out, but it works like a charm.
You can anyway do the per-domain changes as described in the FAQ. And - imho - I think, a symlink should also do (what about the line PHPRC="/var/www/fcgi/comdc.de/php5/" in the php5-fcgi-starter? Don't you have to change this, too?)
Greetings
FeG