PHP Not Working Right?
I have Debian Sarge 3.1, running Apache 1.3.33, PHP4. My PHP modules are installed in Apache, and even the mime type is set, but when I browse to my domain, it pops open a window asking me to save index.php to disk, instead of parsing it. Any clues?
This is a fresh install from Debian Netstall CD. After booting, ran:
apt-get install curl
apt-get install php4-pear
apt-get install php4 php4-cgi php4-imap php4-mysql
apt-get install mysql-server mysql-client
apt-get install apache-common
apt-get install apache
And checked Apache to be sure it was working
index.html works fine, but index.php prompts user for download.
Last edited by johndmann; 03-12-2006 at 01:31 PM.
|