Install php5-cgi and all modules you like (if not already installed

)
then go to /var/www/fcgi/<domain>/ and in there edit the file php4-fcgi-starter
Code:
#!/bin/sh
PHPRC="/var/www/fcgi/festkongen.dk/php4/"
export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php4-cgi
to
Code:
#!/bin/sh
PHPRC="/var/www/fcgi/festkongen.dk/php5/"
export PHPRC
PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN
PHP_FCGI_MAX_REQUESTS=5000
export PHP_FCGI_MAX_REQUESTS
exec /usr/bin/php5-cgi
alternatively you can rename php5-fcgi-starter to php4-fcgi-starter
Later we will integrate the possibility to change that out of the panel.