PHP Installation
| From: | Jason Bouwmeester | Date: | Tue, 23 Oct 2001 21:38:52 +0000 |
| Subject: | PHP Installation | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9975@lists.php.net to get a copy of this message | ||
Apache 1.3.20
PHP 4.06
W2K Pro
I installed Apache to d:\apache
I extracted the php files to d:\apache\modules\mod_php4
I have the following code in httpd.conf:
ScriptALias /php/ "d:/Apache/modules/mod_php4/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php/php.exe"
I copied php.ini-dist to c:\winnt and renamed php.ini
I copied php4ts.dll to c:\winnt\system32
I restarted Apache.
Anytime I try to get to a php page on my site, I get a message saying I
am trying to download the file.
The sad thing is, I've done this before - and more than once, just not
in like six months.
As an aside, I am using virtual hosts under apache, this wouldn't cause
problems would it? I can't see how/why.
I've also set my Path environment to include d:\apache and
d:\apache\modules\mod_php4
TIA,
jb