Re: IISconfig
| From: | Phil Driscoll | Date: | Wed, 02 May 2001 18:34:41 +0000 |
| Subject: | Re: IISconfig | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-3037@lists.php.net to get a copy of this message | ||
How to test this IISConfig thingy:
First, a few more words on what the problem is. Some users (and it seems to
be only a very small percentage) report that the php installer fails when
configuring IIS (or PWS) on NT4 or above because an OCX control is not
registered on the system. The OCX control is responsible for displaying the
treeviewer of the IIS scriptmap nodes so the user can select which ones to
map the various php file extensions into.
The tree viewer is provided by either of two OCX controls, MSComCtl.ocx or
ComCtl32.ocx. These are almost always to be found in the WINNT/System32
folder on real world machines, however they are not always registered.
Cynic's modification to the software is to check whether one of the controls
is registered, and if not, to register on or the other.
To test whether this mod works, first we really need to find a system on
which the original fails (and this can only sensibly be done on Win NT/2000
running IIS or PWS). I have tried to unregister the controls using regsvr32
/u comctl32.ocx and regsvr32 /u mscomctl.ocx however even with the things
reportedly unregistered IISConfig still works ok.
How to do the test:
Download the old version which I've put at
http://www.dialsolutions.com/phil/php/IISConfig.exe
Then from the command line, run "IISConfig.exe <path to your php.exe> .php"
so for example, on my system this would be:
iisconfig.exe f:\php\php4\php.exe .php
If one or other of the OCX controls is already registered on your machine
you should get a dialogue box showing a list of your IIS scriptmap nodes,
and you should cancel out of the dialogue box so it doesn't mess up your IIS
configuration.
If however you get an error message to the effect that an OCX control is not
registered then good - you can help us!
Run the IISConfig.exe that Cynic posted at
http://www.1st.cz/cynic/IISconfig.zip
with the same command line arguments.
You should hopefully get a message box informing you that the control has
been registered, then the software should do it's stuff and display the
scriptmap nodes. Cancel out of the dbox and let us know it worked! NB the
software then unregisters the OCX again so that your system is left in the
same state as it was previously.
If you are an experienced VB hacker and can see a better way of doing all
this stuff, please speak up as neither Cynic nor I are experts in the field
(this is my first - and hopefully only - VB prog).
Cheers
--
Phil Driscoll
Dial Solutions
+44 (0)113 294 5112
http://www.dialsolutions.com
http://www.dtonline.org