At 19:40 27/08/2004, you wrote:
Hi, I thought I had this configured correctly, because it was working at one time (like yesterday). I have installed PHP4 with the lastest Apache. What happens when I try to load for example the "phpinfo()" â?? which I have named "view.php" it will read it in as a file and bring up the download prompt. Can somebody point me in the right direction here?
It looks like Apache isn't handling the MIME type/file extension thing properly.
Check that your mime types have PHP listed: pizpot:/home/pika# cat /etc/apache/mime.types | grep php application/x-httpd-php phtml pht php application/x-httpd-php-source phps application/x-httpd-php3 php3 application/x-httpd-php3-preprocessed php3p application/x-httpd-php4 php4 IIRC I also had to add index.php to the Directory Index list in httpd.confDirectoryIndex index.html index.htm index.php index.shtml index.cgi