Re: Browser wants to download .php file
| From: | David Serrano | Date: | Wed, 18 Jul 2001 19:56:23 +0000 |
| Subject: | Re: Browser wants to download .php file | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3604@lists.php.net to get a copy of this message | ||
This is what the AddType Should look like.
AddType application/x-httpd-php .php .php3 .php4 .phtml .phps
"Stuart Hunter" <shuntera@removeme.technologist.com> wrote in message
news:MPG.15be7b471b53688a989681@news.php.net...
> I installed PHP 4.06 for Linux on my server and followed the
> instructions for uncommenting the AddType in my APache httpd.conf file.
>
> However when I try and get to a .php file on the server my browser tries
> to download it instead of displaying the contents generated by the php
> file.
>
> What have I done wrong, and where should php.ini really live?
>
> Stuart