Re: PHP / Apache on XP
| From: | Nicole Amashta | Date: | Mon, 11 Mar 2002 14:16:09 +0000 |
| Subject: | Re: PHP / Apache on XP | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12574@lists.php.net to get a copy of this message | ||
There are 2 additional lines you need to add to your httpd.conf file.
If you are running PHP as CGI, you need these lines in addition to the set
of lines you already mentioned:
1. ScriptAlias /php/ "c:/php/"
2. AddType application/x-httpd-php .php # this one
you already have.
3. Action application/x-httpd-php "/php/php.exe"
---------------------------------------
"Paul Wallace" <paul.wallace@mustang-technologies.com> wrote in message
news:001601c1c8db$ee860c80$6c01a8c0@Paul...
> Hi,
> I am trying to setup PHP 4.* on XP. Whenever I access a PHP page from
IE
> using Apache, I am prompted to either download the file or the page can't
be
> found. In the Apache httpd.conf file I have uncommented:
>
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
>
> yet it still refuses to load the page into the browser. What am I missing
> here / have not done? I can attach the httpd.conf file if necessary.
>
> Thanks for all input
>
> Paul.
>