Hi,
I've work on such a configuration.
You'd better use the CGI method to run PHP under Windows. The ISAPI one is totaly unstable.
To install PHP follow the instructions given with the PHP archive.
----- php/install.txt ----
IIS 4.0+ (CGI)
1. Copy the php.ini-dist to your systemroot (the directory where you installed windows), rename it to php.ini, and
edit it to fit your needs
2. Start the Microsoft Management Console (may appear as 'Internet Services Manager', either in your Windows NT 4.0
Option Pack branch or the Control Panel->Administrative Tools under Windows 2000).
3. Right click on your Web server node (will most probably appear as 'Default Web Server'), and select 'Properties'.
4. Under 'Home Directory', click on the 'Configuration' button. Add a new
5. entry to the Application Mappings; Use the path to php.exe as the Executable, supply .php as the extension, leave
'Method exclusions', blank, and check the Script engine checkbox.
6. Put a .php file under your Web server's document root and check if it works!
----- php/install.txt ----
Next to activate the MSSQL extension edit php.ini in your windows root directory ( \WINNT )
modify the line :
extension_dir = c:\php\extensions ( directory in which loadable module reside )
then uncomment the line :
extension=php_mssql70.dll
Naturally, MSSQL client libs must be installed on the computer running PHP.
There is a version of 'NTWDBLIB.DLL' in dlls directory, put it in WINNT/SYSTEM32 if not already installed.
Restart IIS:
net stop iisadmin ( Stops all iis services )
net start w3svc
Then it works for me.
But you can also consider the ODBC extension to access MSSQL DB. This is the option I choosed, the support for Stored procedures is more reliable.
Hope this helps