Finally realised what was wrong - You need to manually copy ALL the SQL
Server client network files from the sqlServer box into the system32
directory on the PHP/IIS server box. - then magically the module loads and
works - Using a regular SQL client install some of the files tha PHP needs
dont get installed.

This was NOT straightforward to fix.

On researching this problem - there are lots and lots of people who have had
this error - how do we get the fix posted to an FAQ for php/IIS/SQLServer
configs ?

Thanks to all those who helped out on this.

Rgds

Mike


"Dl Neil" <[EMAIL PROTECTED]> wrote in message
news:0f9701c162f7$f7170650$a516100a@jrbrown...
> Mike,
>
> > We have PHP installed as an ISAP module on our W2K IIS5 server and
> > its operational with no problems - phpinfo() runs just fine.
> >
> > But - When I uncomment the php_mssql.dll extension in php.ini I get an
error
> > when PHP starts up saying it cannot find the .dll file.
> >
> > The extension directory is correctly set to, c:\php\extensions
> > and the actual file itself is in that directory as wells as
> > c:\winnt\system32 and MSSQL client libraries are loaded and operational.
>
> I found that PHP was adding the slash between the dir name and the
extension's filename, and that caused a
> problem such as you have described - so did adding a slash as the final
character. Here is the code that works
> on my WinNT4.0/Apache set up (watch the dir diff):
>
> extension_dir = C:/program files/php/extensions
>
> > Cant think of anything else I need to do - does the .dll file need
> > be registered with regsrvr or something ??
>
> =no
>
> >  Can anybody give me some pointers please this problem is driving me
nuts -
> > I even tried reversing the slashes to the UNIX way !
>
> =um, don't like the sound of that...
> =dn
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to