mod php installation
| From: | Avrum Goodblatt | Date: | Sat, 22 Jul 2000 03:04:40 +0000 |
| Subject: | mod php installation | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1236@lists.php.net to get a copy of this message | ||
After a couple of hours of work I was able to get the mod php working with
apache under win32. There don't seem to be any instructions on the site and
also none at php.net as far as I can see.
Here is what seems to work:
In httpd.conf:
LoadModule php4_module /php4/php4apache.dll
AddType application/x-httpd-php .php
Its was somewhat non-trivial figuring this out, especially if you've never used
an apache module before (like me).
Otherwise, the php module works great and seems to get rid of the only reason
to use IIS (the isapi module). What is most exciting for me is the ability to
use the virtual command to call other files that use other cgi processors.
--------------------------------------------------
Avrum Goodblatt goodblat@sprynet.com (415) 9451368
http://home.sprynet.com/~goodblat