Re: Question about using php with Microsoft SQL server
| From: | signup | Date: | Mon, 22 Jan 2001 21:38:23 +0000 |
| Subject: | Re: Question about using php with Microsoft SQL server | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-6097@lists.php.net to get a copy of this message | ||
> 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 faermini@tin.it
loc. Meleto Valdarno Mail on GSM: (keep it short!)
52020 Cavriglia (AR) faermini@sms.tin.it
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
For additional commands, e-mail: php-db-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net