PHP4 as ISAPI Filter on Win98
| From: | Dirk Maetens | Date: | Thu, 22 Jun 2000 14:48:42 +0000 |
| Subject: | PHP4 as ISAPI Filter on Win98 | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-584@lists.php.net to get a copy of this message | ||
Hello *,
According to the installation notes that come with PHP4.0.0-win32 it is
possible to install PHP as a module in IIS 4.0:
<snip>
- Install the php.ini file and the DLLs as mentioned above.
- Start the Microsoft Management Console (may appear as
'Internet Service Manager').
- Under 'ISAPI Filters', add a new ISAPI filter. Use 'PHP' as the
filter name,
and supply a path to the php4isapi.dll that is included in the
distribution.
- Under 'Home Directory', click on the 'Configuration' button. Add a
new entry
to the Application Mappings; Use the path the php4isapi.dll as the
Executable,
supply .php as the extension, leave 'Method exclusions', blank, and
check
the Script engine checkbox.
- Stop IIS completely (you would have to stop the IIS Administration
service for
that - stopping it through the Management Console isn't good enough;
You can
do it by typing 'net stop iisadmin' on a command prompt).
- Start IIS again (you can do it by typing 'net start w3svc' on a
command prompt).
- Put a .php file under your Web server's document root and check if it
works!
</snip>
Trying to get this to work on win98/PWS (which is after all a
scaled-down IIS),
will demand some registry work. Since win98 doesn't have the Management
Console thingy, I was wondering whether someone would be so kind to post
a snapshot of the relevant registry entries ? In return I will be glad
to write a
'php_isap_iis_reg.inf' file to put in the win32 distribution...
if it is at all possible to make it work that is.
TIA !