> Hello, I'm trying to use the mssql_connect function to connect to the
> Microsoft SQL server with php4.0.3pl1 for window, but the return is "Fatal
> error: Call to undefined function: mssql_connect()". And another mssql
> function are also with the same result, but I have try use the mysql and
> odbc functions to connection with database is work, so could you help me
> tell me what the reason and/or how to slove this problem. Waiting for your
> reply, thanks you.
> 
ms-SQL support is not abilitated by default in PHP-Win32. First, 
make sure you have a mssql.dll (or something similar, name may 
change reflecting the version of MS-Sql for which the dll is built) in 
the directory where PHP extensions are saved. If you find it, then 
you have to go to php.ini and uncomment the relative row in the 
"extensions" section. You may have to set the row "extensions 
path" too.

If your PHP-win32 distro does not comprehend the required dll, try 
the one built by the folks at www.php4win.de that's quite complete.

HTH, bye

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Fabrizio Ermini               Alternate E-mail:
C.so Umberto, 7               [EMAIL PROTECTED]
loc. Meleto Valdarno          Mail on GSM: (keep it short!)
52020 Cavriglia (AR)          [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to