Apache/PHP on Win 2000
| From: | speedoflight at runbox dot com | Date: | Thu, 22 Mar 2001 03:50:15 +0000 |
| Subject: | Apache/PHP on Win 2000 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6210@lists.php.net to get a copy of this message | ||
I am running Apache on Win 2000 and am trying to install PHP on it. I've used the PHP installer
and have configured my httpd.conf file to recognize the php mime type.
I am using localhost or 127.0.0.1 to do this since I don't have a box that is online. I've
never tried the localhost route before but Apache seems to serve regular HTML files up fine.
But, when I load a PHP file on this machine, i.e. http://127.0.0.1/test.php, the PHP server doesn't seem to
parse the file. It asks me if I want to download the file or open it. I don't want either.
I'm not sure what I should do. Any help would be greatly appreciated.
Below is what I've dumped in my httpd.conf file. Let me know if it's right or wrong.
Please help!! Thanks much!
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
ScriptAlias /php/ "D:/php/"
Action application/x-httpd-php "D:\php\php.exe"
AddType application/x-httpd-php4 .php>
-----------------------------------------------
Runbox Mail Manager - www.runbox.com
Free online email application