Re: Apache running...now what?
| From: | jota | Date: | Fri, 12 Mar 2004 01:34:09 +0000 |
| Subject: | Re: Apache running...now what? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23110@lists.php.net to get a copy of this message | ||
I found my answer at:
http://quanta.sourceforge.net/docs/php/install-windows95-nt.html
"Jota" <jadams@netvision.com> wrote in message
news:20040311223408.25915.qmail@pb1.pair.com...
> I believe I have already done everything to install PHP, and Apache starts
> up fine for me (Apache 1.3.29).
>
> But, it seems that Apache still doesn't know what to do with the PHP
files.
>
> I added the following lines to my httpd.conf file:
>
> LoadModule php4_module c:/php/php4apache.dll
>
> AddType application/x-httpd-php .php
>
> AddType application/x-httpd-php .php3
>
> (I did not use php4apache2.dll because my thoughts are that
php4apache2.dll
> is for Apache 2.)
>
> I edited my index.html.en file by adding the following line:
>
> <p>Click <a href="test.php">PHP test</a> to test your PHP
> file.</p>
>
> When I start the Apache service and click my test link, I get odd results.
>
> At first it would launch DreamWeaver. I noticed in my registry that .php
was
> registered as a DreamWeaver application. So I pointed it to IE, and then
to
> PHP.exe. I have no idea what it is supposed to point to.
>
> If anyone has PHP on their Windows machine, could you export your
> HKEY_CLASSES_ROOT\phpfile registry key to a file and e-mail it to me?
> (jadams@netvision.com <mailto:jadams@netvision.com>)
>
> Otherwise, I have no idea what I am doing wrong.
>
> Thank you!