Here's a small test script I use to test connecting to an SQL Express server:
Code: Select all
$connection = @mssql_connect('.\SQLEXPRESS', 'sa', '123123123');
echo $connection === false ? 'Failure.' : 'Connected.';I'm on Vista x86, Apache 2.2, PHP 5.2.4, ntwdblib.dll is the right one.