Re: 4.0.6 mssql.dll Extension load failure
| From: | Mike | Date: | Thu, 01 Nov 2001 17:32:38 +0000 |
| Subject: | Re: 4.0.6 mssql.dll Extension load failure | ||
| References: | 1 2 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-windows+get-10156@lists.php.net to get a copy of this message | ||
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" <PHPml@DandE.HomeChoice.co.uk> 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
>
>