[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: browser tries to download php test file info.php

ktb wrote:
> 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?


# LoadModule pgsql_auth_module /usr/lib/apache/1.3/mod_auth_pgsql.so
# LoadModule eaccess_module /usr/lib/apache/1.3/mod_eaccess.so   
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
# LoadModule roaming_module /usr/lib/apache/1.3/mod_roaming.so

I tried restarting it both with /etc/init.d/apache restart and
/etc/init.d/apache start after killing it manually.  Both times same
thing.  Netscape just pops up a window to write the info.php file to a
local file.

> kent
> --
> To know the truth is to distort the Universe.
>                       Alfred N. Whitehead (adaptation)
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Physically I'm at:  5101 N. 45th St., Tacoma, WA, 98407-3717, U.S.A.

Reply to: