Re: php install - file download box
| From: | Farawak | Date: | Mon, 06 Aug 2001 12:54:04 +0000 |
| Subject: | Re: php install - file download box | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-3861@lists.php.net to get a copy of this message | ||
Sorry I made a mistake here! The entries are in fact in the httpd.conf file
and not the php.ini
"Phil Driscoll" <phil@dialsolutions.co.uk> wrote in message
news:01080612552009.15407@linux...
> On Monday 06 August 2001 11:14, Farawak wrote:
> > I am using Apache server 1.3.20 on a NT4 box with php-4.0.5. Apache
server
> > starts but when i try to go the test.php through a web browser i get
> > prompted with the download this file box when i should be getting the
page.
> > I know this has to do with file association in the php.ini file.
> >
> > I have added this in the php.ini file but still get prompted with the
box
> > in the web browser:
> >
> > ScriptAlias /php4/ "C:/php"
> > Action application/x-httpd-php4 "/php4/php.exe"
> > AddType application/x-httpd-php4 .php
>
> The lines are ok, but you should put them in httpd.conf, and not php.ini.
>
> Cheers
>
> --
> Phil Driscoll