Here is the content of the install.txt include in the php4 distribution.
You have to follows what they say and it works fine.
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 (directory where you installed
windows), rename it to php.ini, and
edit the php.ini to fit your needs.
4. Restart the Apache server.
Yoann.
----- Original Message -----
From: "Denis L. Menezes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 5:17 AM
Subject: [PHP-WIN] Apache, PHP on win 98
> hello friends.
>
> I downloaded Apache for Windows and ran it. Works fine.
>
> I then downloaded php4 and looked at the install instructions and find
that
> there are errors in the install file regarding placing of the dlls, the
> loadmodule command etc.
>
> can anyone tell me the correct procedure of making Apache see and work
php?
>
> thank you.
> Denis
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]