Hi all,

I apt-get installed php4 and apache recently (running potato, by the way).
Apache works fine, but when I try to display a simple php page, Netscape
wants to download it as a file. :-(

Here's what I have as part of /etc/mime.types...

text/html                                       html htm
application/x-httpd-php                         phtml pht php
application/x-httpd-php3                        php3
application/x-httpd-php3-source                 phps
application/x-httpd-php3-preprocessed           php3p

...I have these in /etc/apache/httpd.conf...

LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php.source .phps

What must I do to get a php page to display properly?




Reply via email to