sqlsrv_connect: Data source name not found and no default driver specified
问题 I am facing difficulties in connecting PHP with SQL SERVER 2008 running on a remote computer. I have php version 5.4.3 and apache 2.2.22. I already have SQL SERVER 2008 running on my computer. I have following files included in my wamp\bin\php\php5.4.3\ext folder: php_sqlsrv_54_ts.dll php_pdo_sqlsrv_54_ts.dll On running simple code like $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn ) { echo "Connection established.\n"; } else { echo "Connection could not be established.\n";