Re: How can i install PHP as an Apache module on windows 2000?
| From: | alphapoet | Date: | Sun, 05 May 2002 21:41:15 +0000 |
| Subject: | Re: How can i install PHP as an Apache module on windows 2000? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13559@lists.php.net to get a copy of this message | ||
I've done what Cybero recommends below, still, my .php files don't seem to
be excuting properly. I've verified all paths and even made sure the Load
and Add's are under the proper sections in the httpd.conf file. Running
php.exe. -i from command line gives me the proper output (ie, the html for
the phpinfo() function), but, I don't seem to get any data from the actual
php file calling that function... Please assist if you can...
FYI... I'm configuring Apache 1.3.24/PHP 4.2
"Cybero" <tomas@llarik.sk> wrote in message
news:20020418164144.29955.qmail@pb1.pair.com...
add this lines to httpd.conf :
LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
Guilherme dávalos <guidavalos@yahoo.com.br> píse v diskusním
pøíspìvku:001b01c1e718$6b6f6b60$014b000a@grafica...
Hi,
i'm trying to run an application on Apache 1.3 at windows 2000 professional,
but it was made on php/Linux. I suppose that i'm having the following
problem beacuse the installation of PHP on windows is CGI version by
default.
the problem is:
[Thu Apr 18 12:28:00 2002] [error] [client 127.0.0.1] malformed header from
script. Bad header=HTTP/1.0 401 Unauthorized: c:/php/php.exe
So, how can i install PHP as an Apache module on windows 2000?
---
Odchádzajúca správa neobsahuje vírusy.
Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz).
Verzia: 6.0.342 / Vírusová databáza: 189 - dátum vydania: 14.3.2002