RE: [PHP-WIN] MSSQL7 Connections

From: Date: Thu, 28 Dec 2000 16:27:21 +0000
Subject: RE: [PHP-WIN] MSSQL7 Connections
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4708@lists.php.net to get a copy of this message
Hi: your php_mssql.dll has failed to load properly. You don't need to use ODBC. Just check your php.ini to see if extensions_dir or your dll's name is properly written. Once the dll loads properly, MSSQL7 driver can be used with no problem. Greetings, Paco > I am trying to connect to a ms sql 7 server from a win2k server using php > 4.0.3pl1 and I get the following error: > Fatal error: Call to undefined function: mssql_connect() in > c:\inetpub\wwwroot\dbtest2.php on line 2 > line two is: $linkID = > mssql_connect("localhost","user","password"); > > I have searched the php.net site and their solution in the FAQ is to use > ODBC. I would rather not use that and would prefer to connect directly to > the sql server instead in adding another layer between php and mssql. Does > anyone know what I am doing wrong? Is it possible to do this? > > Thanks. > ____________________________________________ > Julian Easterling, Systems Developer > The CDM Group -- Chevy Chase, MD USA > > "The code says what the program is doing, the remarks > (comments) say what it is supposed to be doing. > Debugging is reconciling the differences." > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.windows (#4708) next »