Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files

2008-12-21 Thread Chris

Fred Silsbee wrote:



--- On Sat, 12/20/08, Fergus Gibson fgibso...@gmail.com wrote:


From: Fergus Gibson fgibso...@gmail.com
Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
To: fredsils...@yahoo.com
Date: Saturday, December 20, 2008, 6:06 PM
On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
fredsils...@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.pageid=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


So lodge a bug at http://bugs.php.net.

--
Postgresql  php tutorials
http://www.designmagick.com/


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files

2008-12-20 Thread Fred Silsbee
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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files

2008-12-20 Thread Fred Silsbee



--- On Sat, 12/20/08, Fergus Gibson fgibso...@gmail.com wrote:

 From: Fergus Gibson fgibso...@gmail.com
 Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
 To: fredsils...@yahoo.com
 Date: Saturday, December 20, 2008, 6:06 PM
 On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
 fredsils...@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.pageid=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