APACHE 1.3 - PHP4 - WINDOWS 2000
| From: | Simon Thackeray | Date: | Mon, 29 Oct 2001 17:43:53 +0000 |
| Subject: | APACHE 1.3 - PHP4 - WINDOWS 2000 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4786@lists.php.net to get a copy of this message | ||
Hello,
I am trying to install php4 with apache 1.3 on w2k.
So far I only installed php on linux servers and I never experienced a
problem.
What I did so far:
I installed Apache in E:/APPS/Apache Group/Apache and unpacked the php
distibution to C:\PHP
I copied the php.ini to C:\WINNT.
I moved php4ts.dll to C:\WINNT\SYSTEM32
I added following lines to httpd.conf:
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
I stopped and restarted Apache.
I created a small file named test.php containing the line <? phpinfo() ?;>.
When I attempt to browse the file from Apache, the browser wants to download
the file instead of parsing it in php.
What have I done wrong?
Any help would be appreciated.
Many thanks
Simon Thackeray