IIS 6, PHP 5 and IIS management functions

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
Joffy
Forum Newbie
Posts: 2
Joined: Mon Nov 15, 2004 2:36 am

IIS 6, PHP 5 and IIS management functions

Post by Joffy »

Hello everybody,
I hope someone will have at least some idea about this...

System:
- IIS on Windows Server 2003
- PHP Version 5.0.2
- FrontPage Extensions 2002

What I'm looking to do is replace an old VS6 C++ program which currently uses the command line administration tool for IIS owsadm.exe to create and setup subwebs for users; with a PHP script that will esentially be run in line with Active Directory. I have completed all LDAP code, now just looking to the handling of Subwebs and their permissions.

I have been digging around the web for ages looking to see if the PHP 5 extension php_iisfunc.dll (listed as IIS management functions) may have some functionality which I could use to achieve this goal..?

On searching the PHP Manual it is only listed as an extension and says nothing more. What I can find is heaps of examples of this extension causing problems for people, so they must be using it for something?

Does anyone have any documention on this extension or any idea of what it may contain?
Joffy
Forum Newbie
Posts: 2
Joined: Mon Nov 15, 2004 2:36 am

Post by Joffy »

Update:
I pulled appart the php_iisfunc.dll to get what look to be the functions avaliable in this library. Has anyone seen any of the following used anywhere?

iis_getservicestate
iis_startservice
iis_stopservice
iis_setappsettings
iis_getscriptmap
iis_setscriptmap
iis_stopserver
iis_startserver
iis_getserverright
iis_setserverright
iis_getdirsecurity
iis_setdirsecurity
iis_removeserver
iis_addserver
iis_getserverbycomment
iis_getserverbypath
iis_get_service_state
iis_continue_service
iis_start_service
iis_stop_service
iis_set_app_settings
iis_get_script_map
iis_set_script_map
iis_get_server_status
iis_continue_server
iis_pause_server
iis_stop_server
iis_start_server
iis_get_server_rights
iis_set_server_rights
iis_get_virtual_path
iis_delete_virtual_path
iis_set_virtual_path
iis_get_dir_security
iis_set_dir_security
iis_remove_server
iis_add_server
iis_get_server_by_comment
iis_get_server_by_path
iis_enum_servers
iis_get_error

Many thanks for any info anyone has on these functions.
Post Reply