View Single Post
Old 28th March 2006, 17:31
chazaq chazaq is offline
Junior Member
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache2 with PHP4 and PHP5 on Debian Sarge

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.
Reply With Quote
Sponsored Links