ntwdblib.dll not found in any of the 5.2.8 zip files

ntwdblib.dll proves to be necessary...otherwise I'll get a mssql_connect not found

I used the ntwdblib.dll file from a 5.2.6 zip file

I completely reinstalled XP Prof SP3 along with MS SQL Server 2008 and I still get the following error:

Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: .\SQLEXPRESSLMKIII in C:\Inetpub\wwwroot\trymssql.php on line 8

Fatal error: Maximum execution time of 30 seconds exceeded in C:\Inetpub\wwwroot\trymssql.php on line 8

<?php
// Server in the this format: <computer>\<instance name> or
// <server>,<port> when using a non default port number
$server = "LANDON\SQLEXPRESSLMKIII";
//$server = '(local)';
//$server = '.\SQLEXPRESSLMKIII';
$link = mssql_connect($server, "sa", "x0x0x0x");
//$link = mssql_connect($server);

if(!$link)
{
die('Something went wrong while connecting to MSSQL');
}
?>

I've looked at all the options/permissions I can find.











--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Fred Silsbee [ Sa, 20 Dezember 2008 16:59 ] [ ID #1981853 ]

Re: ntwdblib.dll not found in any of the 5.2.8 zip files

--- On Sat, 12/20/08, Fergus Gibson <fgibson75 [at] gmail.com> wrote:

> From: Fergus Gibson <fgibson75 [at] gmail.com>
> Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
> To: fredsilsbee [at] yahoo.com
> Date: Saturday, December 20, 2008, 6:06 PM
> On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
> <fredsilsbee [at] yahoo.com> wrote:
> > ntwdblib.dll proves to be necessary...otherwise
> I'll get a mssql_connect not found
> > I used the ntwdblib.dll file from a 5.2.6 zip file
>
> This resource might help:
>
> http://www.userscape.com/helpdesk/index.php?pg=kb.page&id=13
>
> According to the information there and on the forum thread
> they link,
> the problem you have is likely that the ntwdblib.dll is the
> wrong
> version. They say you can find the correct DLL in the
> system32
> directory on the SQL Server. If you copy that to your
> extension dir,
> you should be good.


YOU ARE THE MAIN MAN! THAT WORKED! THE CORRECT VERSION SHOULD BE

INCLUDED IN THE 5.2.8 ZIP FILE





--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Fred Silsbee [ Sa, 20 Dezember 2008 21:20 ] [ ID #1981855 ]
PHP » gmane.comp.php.windows » ntwdblib.dll not found in any of the 5.2.8 zip files

Vorheriges Thema: mbstring
Nächstes Thema: just downloaded 5.2.8 for Windows and no php5isapi.dll file