Re: Angry, up all night newbie (re: apache config)
| From: | Anthony | Date: | Tue, 16 Mar 2004 19:21:12 +0000 |
| Subject: | Re: Angry, up all night newbie (re: apache config) | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23154@lists.php.net to get a copy of this message | ||
umm ... try looking in the docs ... not hard to find
http://www.php.net/manual/en/install.apache2.php
extract the windows binary package
to load it as a module. put something like this in your httpd.conf file:
; For PHP 4 do something like this:
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
don't forget to move php4ts.dll to the same folder as php4apache2.dll and
put your php.ini in your windows folder. Also, make sure the user that the
apache service is running under has rights to wherever you stuck you php
files.
"Rob Conklin" <robconklin@worldnet.att.net> wrote in message
news:20040315081439.33232.qmail@pb1.pair.com...
> I found the "install" text file included with the PHP for Windows download
> incomphrehensible and useless. I won't go on and on, but was wondering if
> someone can point me to some information that would explain, in a simple,
> deterministic and clear way, what steps are necessary to get Apache to
load
> the proper PHP modules and recognize the contents of .php files.
>
> I'm working with the latest version of PHP, which doesn't particularly
like
> the latest version of apache (2.0), so I downloaded and installed the 1.3x
> version of apache.
>
> All I can say is that if someone can help me with this, I'll owe 'ya one.
>
> TIA
>
> RC
>
> ps. please send email regarding this to robconklin@worldnet.att.net