I just ran the iis-aid installer (for php4 under iis5.1 ... win xp pro).
It gave no errors and I accepted all defaults.
After installing I tried to load a php sample at http://localhost/test.php
With this: echo phpinfo();
The browser attempted to download the php document. Hmmmm, not reading the script.
I checked my website in the mmc and it showed no application mappings or isapi filters. I added them, pointing to the appropriate c:\php-iis\php4\sapi\php4isapi.dll. Did iisreset and ...
It doesn't prompt a download but now it says:
The specified module could not be found.
any suggestions? I'm a raw php newbie.
Hi Tom,
First off, apologies for the late reply. Your post somehow slipped by me. Weird that the application mapping was not created as I haven't come across that before in IIS 5.1. Two points;
1. Remove PHP as an ISAPI FIlter as you only need an application mapping for PHP to parse PHP scripts.
2. Had you attempted to install PHP prior to using the IIS Aid Installer?
Hi Tom,
I'd say would be it then. My installer is still relatively early on in development and I've noticed that it doesn't always work when there are prior versions of PHP installed. I hope to have that sorted in future versions.
If you used the installer from PHP I would think it would remove all the files, but honestly I haven't tested it. Another thing it could be is the inheritance in your IIS metabase. On a clean install of IIS the scriptmaps (aka application mapping) are inherited from the root. However, if you manually edit, add or remove a scriptmap for a particular site then that inheritance link is removed. The result of this is that if you then alter any scriptmap settings at the root they are only propagated down through the metabase where the inheritance attribute is still set. I think this is where the problem with my installer is as I don't think it is doing a fully recursive search through the metabase to find, update or create new PHP application mappings. Anyway, you can use Metabase Explorer from the IIS resource kit to browse the metabase and view these inheritance links.
Location: Melbourne, Australia
Joined: Sep 2003