I am building a web server on which I want php to be able to send email to clients.
I installed Debian Sarge (netinstall cd) with Apache2 and followed your instructions (FalkoTimme's) on inserting php4 and php5.
However when I add the following to the apache2-default.conf
apache will not restart.
AddHandler php-script .php4
Action php-script /cgi-bin/php4
If I comment these lines out Apache restarts okay.
FYI- I am a Debian newbie.