• 0

Parse *.html files with PHP content, using IIS


Question

In case the topic title is not clear, I would like to have all the HTML documents IIS serves checked for PHP content and parsed if any is present.

I'm aware that this can be done using Apache by editing the htaccess file, but can it be done with IIS? (I'm using version 5.5 - XP Professional.) I would normally use Apache as I do prefer it, but I'm working on a machine that has IIS, MySQL, and PHP all set up - and I'm only developing locally at the moment.

Thanks for any help as always people.

5 answers to this question

Recommended Posts

  • 0

Yup, I think! (never done it, but try this).

Go into the IIS MMC snap in.

Go into properties for the website you would like it on.

Home Directory Tab

Configuration Button

Add a new extension (html) to use the PHP module/exectable (basically copy whatever setting is already there for .php files).

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.