Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 619235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T18:37:57+00:00 2026-05-13T18:37:57+00:00

My goal is to add php Extension to IIS6 and IIS 7 via Code

  • 0

My goal is to add php Extension to IIS6 and IIS 7 via Code in C# using WMi (System.Management). I cant use DirectoryEntry.

I am stuck with adding a new ScriptMap Object to IIS 6/IIS7.

I have read some posts at here and there and heard that adding new WMi object from Scratch is difficult.

I want to enable IIS 6/IIS7 to handle php as well as aspx files and be able to process them. I have extracted php zip archive to a directory on my system (not installed it). The propblem is i am able to modify existing ScriptMap objects but i dont get to understand the add a new ScriptMap Objects.

Also i am not sure whether adding the a new extensiuon handler to ScriptMap will solve the problem or not.

Please guide.

Thanks

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T18:37:58+00:00Added an answer on May 13, 2026 at 6:37 pm

    @Kev.
    Yes. Got it. Problem solved through Thanks Kev . 🙂

    The solution was

    1. to add “*.php” extension in “Extensions” Property of ScriptMap Array and “ScriptProcessor” Property to be set to the path of the “php5isapi.dll”.

    2. The second thing was to add the “Default.php” (or any other suitable default php document) to zeroth index of “DefaultDoc” Array among others like “Default.aspx, Default.htm, Default.html, Default.asp” etc.

    3. The third thing was to enable/Allow the PHP ISAPI Extension. IIsWebService.EnableExtension did the trick.

    Thanks again kev for providing me the starting point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My goal is to have dynamic Facebook like buttons using a php variable in
I use Haxe to generate PHP code. (This means you write you code in
The goal is to be able to add a PDF file to the assets
I'm trying to add a 'back' link within page.tpl.php (replacing a proper breadcrumb for
I am using ubuntu, fluxbox, pcmanfm as filemanager, xmms2 as music player. My goal:
My .htaccess file: RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ photo.php?id=$1 RewriteRule ^([a-zA-Z0-9_-]+)/$ photo.php?id=$1 My goal is
Let's say I have data string like this... one=1&two=2&three=3&four=4&two=2 I'm using php foreach to
If I have a tag system like Stackoverflow. I can add tags, save and
I have written the following in my reginsert.php. The goal is to take the
The javascript code below is about half way on my php page, I can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.