Re: browser tries to download php test file info.php
On Sat, Mar 16, 2002 at 10:05:09PM -0800, Xeno Campanoli wrote:
> Say, I'm stuck making PHP go. As per instructions on page 43 of
> Converse and Park, I made an info.php file, but when I specify it's URI,
> the browser just tries to download it. I've got the Addtype(s) in
> Apache, and I've got valid /etc/php4/*/php.ini files (the * gives
> "apache" and "cgi" directories), and I've protected /var/www as per the
> instructions. So what gives? Is this a simple omission, or am I
> broken? Is this obvious?
Have you uncommented -
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
in /etc/apache/httpd.conf and restarted Apache?
To know the truth is to distort the Universe.
Alfred N. Whitehead (adaptation)