Install - PHP on Apache, Win XP
| From: | Jeff Wallman | Date: | Tue, 10 Dec 2002 16:50:34 +0000 |
| Subject: | Install - PHP on Apache, Win XP | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9346@lists.php.net to get a copy of this message | ||
Hi,
I have tried to install PHP to run on Apache on my XP box. This is for
development purposes so there is no worry about security. I have
confirmed the following during the installation:
1- Apache serves up HTML pages successfully (with the correct paths set
in the conf file).
2- I tried running PHP as both an .exe and with DLLs with no success.
Trying to isolate the problem I would like to try to get PHP running as
a CGI first. Enclosed is my httpd.conf settings for PHP (from the PHP
install instructions)
ScriptAlias /php/ "C:/php"
AddType application/x-httpd-php .php
Action application/x-httpd-php "C:/PHP/php.exe"
3- I get a HTTP 400 - Bad Request
3- PHP runs from the command line
4- The file permissions on the PHP files have been set appropriately.
I am stumped. Anyone have any suggestions?
Thanks in advance,
Jeff
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Wallman
Tibetan Buddhist Resource Center
at the Rubin Cultural Trust
115 5th Ave, 7th Floor
New York, NY 10003
212-780-2280 | 212-780-2005 (direct)
jwallman@tbrc.org | http://www.tbrc.org
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~