Re: Configuration Problem
| From: | Rob Beckett | Date: | Mon, 25 Jun 2001 02:21:50 +0000 |
| Subject: | Re: Configuration Problem | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3331@lists.php.net to get a copy of this message | ||
> If the file has a .php extension, my browser tries to download it.
> If the file has a .php3 extension, I see the source code of the file.
> If the file has a .php4 extension, my browser tries to download it.
Ok, I'm not a pro, but this stinks of (to call it something) the httpd.conf
or definitions missing that tells the server how to process the file.
Got the: "AddType application/x-httpd-php .php" line in there? And the
LoadModule command?
Just an idea. AFAIK, your browser will do what it does with the file being
sent depending on the header sent, MIME-type, etc, and if your browser is
trying to download it, then it's not receiving the right output from
Apache/PHP, assuming the file is even being pre-processed.
Hopefully someone can agree or disagree here.
Have fun,
Rob Beckett.
rob@subwolf.org
[NP: Da Hool - Meet Her At The Love Parade (Nalin & Kane Mix)]