RE: php4apache.dll ???
| From: | Joao Duraes | Date: | Mon, 06 Nov 2000 12:51:19 +0000 |
| Subject: | RE: php4apache.dll ??? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3698@lists.php.net to get a copy of this message | ||
Thanks a lot. Maybe I don't have that same package, because I can't find
those instructions. Anyway, it all made sense and it worked perfectly!
Thanks a lot, again! :-)
JD
-----Original Message-----
From: Wenz Christian [mailto:christian.wenz@pp-active.de]
Sent: 06 November 2000 12:34
To: 'Joao Duraes'; 'php-windows@lists.php.net'
Subject: AW: php4apache.dll ???
Hi,
> Question: is this what I think it is, the Win32 Apache mod version of PHP?
yes! :-)
> If so, how do I install it on Apache, since there's no documentation about
> doing it?
There is a readme in the package that says this:
--- SNIP ---
Apache:
--------
1. Stop the Apache Webserver. Edit the httpd.conf and put in these lines,
modified to your environment:
2. Unzip the Package to c:\php, now move php4ts.dll to the
windows/system(32) directory, overwritte any older file!
# for the apache module
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php4
#for the cgi binary (you can use that one compiled with force cgi redirect
too)
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
3. Copy the php.ini-dist to your sysroot, this is the directory where you
installed windows and rename it to
php.ini.
4. Edit the php.ini to fit your needs.
--- SNIP ---
Regards
Christian