| 3. Configuring
Internet Information Services (IIS) Manager:

Figure 2 - Accessing the "Web Sites Properties"
dialogue box in IIS
If you are using the new style Start
menu, you can reach the Internet Information Services
console by clicking “Start”, “Administrative
Tools” and selecting “Internet Information
Services (IIS) Manager” from the list.
If you are using the “Classic” style Start
Menu, you can reach the console by clicking “Start”,
“Programs”, “Administrative Tools”
and select “Internet Information Services (IIS)
Manager” from the list.
The first thing we need to do is tell IIS how it should
process PHP files. To do this, first right-click on
"Web Sites" in the left-hand menu and select
"Properties" from the list that appears (as
shown in Figure 2 above).

Figure 3 - Application Configuration
Once open, select the "Home Directory"
tab and click on "Configuration". A similar
window to figure 3 (above) will appear. Click on "Add".

Figure 4 - PHP Application Mappings
Complete the box shown in Figure 4 (above)
as shown then press "OK". If you see a message
appear with a list of "Child Nodes" you should
check them carefully before selecting which should be
PHP-enabled. Be particularly careful if you are running
Microsoft Exchange Outlook Web Access (OWA) as overriding
the OWA Virtual Directory settings will stop it from
working!
IIS now knows how to process PHP files.
However, it's "Web Service Extensions" rules
still restrict it from doing this.

Figure 5 - Web Service Extensions
We now need to configure "Web Service Extensions"
so right-click on "Web Service Extensions"
in the menu on the left. Then select "Add a new
Web service extension..." from the list (as shown
in Figure 5 above)

Figure 6 - Creating a PHP web service extension
Complete the dialogue box as shown in
Figure 6 above. Make sure you check the "Set extension
status to Allowed" checkbox. The "Extension
name:" is only a reference and hence can be anything
- PHP makes it easy to identify in future though.

Figure 7 - The completed Web Service Extensions
window
The completed "Web Service Extensions"
window should now look like figure 7 above.IIS now knows
to process PHP files and our "Web Service Extensions"
have made it possible for PHP scripts to run freely. |