PHP4 and PHP5 per VirtualHost on the same Apache 2 webserver
I assume you have a working Apache 2 installation with PHP4 modules installed, if not run the following and you will have:
sudo apt-get install apache2 apache2-mod-php4
Note: you can also have PHP5 installed as module and PHP4 as CGI, everything works the same way with swapping the versions in commands.
First of all you will need the [...]