News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Alex Netkachov's Blog:
Programmatically adding PHP script engine to IIS 5.1 metabase ScriptMaps
August 13, 2007 @ 09:30:00

In a new post today Alex Netkachov steps through how he added the PHP scripting engine to his metabase scriptMaps on an IIS 5.1 web server:

I spent a few days on investigating how to modify IIS metabase from script. What I need is to add PHP engine to IIS programmatically during installing PHP. [...] The metabase object can be enumerated and each item of the enumeration can be enumerated to. The elements of this hierarchy represent folders you can see in IIS management console.

He builds out the ScriptMaps functionality (a recursive "walk" function) and another function to add the PHP scripting engine onto that (addPhpIsapi). A word of warning from Alex, though:

This code now is the part of Jamp installer. But because this functionality is dangerous, this code is not run during default installer and it recommended to backup the metabase before running it.
0 comments voice your opinion now!
scriptmaps engine iis webserver enumeration scriptmaps engine iis webserver enumeration


blog comments powered by Disqus

Similar Posts

WebResourcesDepot.com: 19 Promising PHP Template Engines

ClanCats Station: Writing a webserver in pure PHP - Tutorial

Chris Ravensroft's Blog: How To Setup PHP5 with Tomcat 5

SitePoint PHP Blog: Using Solarium with SOLR for Search - Setup

Zend Developer Zone: FastCGI and PHP: A User's Story


Community Events

Don't see your event here?
Let us know!


development version framework laravel5 series release podcast api introduction community library php7 extension unittest security laravel language opinion interview voicesoftheelephpant

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework