I did all that this article suggests to get php
working but I just get an error message with every php-file I try. It looks like this on the page:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
And in the Apache logs it looks like this:
[Wed Sep 18 15:13:57 2002] [error] (8)Exec format error: exec of /Library/WebServer/CGI-Executables/test.php failed
[Wed Sep 18 15:13:57 2002] [error] [client 126.96.36.199] Premature end of script headers: /Library/WebServer/CGI-Executables/test.php
Please help. I want to install SquirrelMail which is php-based. Already got sendmail and imap running.