Thanks for the quick response!
In my frustration I blew away my whole install and started from scratch:
Code:
apt-get remove apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql
I then re-installed apache & php (and mysql):
Code:
apt-get instal apache2 php5-mysql libapache2-mod-php5 mysql-server
I am still getting a "500 Internal Server Error";
From apache's error.log:
Code:
[Wed Oct 29 19:09:33 2008] [error] [client 127.0.0.1] (8)Exec format error: exec of '/var/www/phptest.php' failed
[Wed Oct 29 19:09:33 2008] [error] [client 127.0.0.1] Premature end of script headers: phptest.php