ntwdblib.dll not found in any of the 5.2.8 zip files
| From: | Fred Silsbee | Date: | Sat, 20 Dec 2008 15:59:38 +0000 |
| Subject: | ntwdblib.dll not found in any of the 5.2.8 zip files | ||
| Groups: | php.db php.windows | ||
| Request: | Send a blank email to php-db+get-45819@lists.php.net to get a copy of this message | ||
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.