Re: Configuration Problem
| From: | Floyd Resler | Date: | Wed, 27 Jun 2001 23:46:08 +0000 |
| Subject: | Re: Configuration Problem | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3365@lists.php.net to get a copy of this message | ||
On 6/24/01 10:22 PM, in article
9h6788$s91$1@w153.z064000151.sjc-ca.dsl.cnc.net, ""Rob Beckett""
<thesuburbanwolf@hotmail.com> wrote:
>> 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)]
>
>
>
I figured it out. I had several different "AddType" lines for php. I
removed all but the AddType application/x-httpd-php .php line and everything
works just fine!
Thanks,
Floyd