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" <[EMAIL PROTECTED]> wrote in message
001601c1c8db$ee860c80$6c01a8c0@Paul">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.
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to