Connection Problem of PHP 4.0, Apache and MSSQL 2k.
Posted on 2001-06-26
I have tried hard to connect sql server with php4.0.
but every time I got one error.
$hostname = "myServer";
$username = "sa";
$password = "";
MSSQL_CONNECT($hostname,$username,$password) or DIE
("DATABASE FAILED TO RESPOND.");
--> Fatal error: Call to undefined function: mssql_connect() in F:\Appache\HtDocs\test...
Win2k, SQL Server 2k, PHP 4.0.
The connection params are valid and ntwdblib.dll exist in the system directory.
I have i uncommented the extension=php_mssql70.dll line in php.ini at sys root file.
ur suggetion will highly appreciated.
Thanks in advance.