2013'den beri2 mesaj
Microsoft SQL server 2008 kullanıyorum şu şekilde bağlantı kullamıyorum
ve ekran çıktısı şöyle
bağlantı yok!
Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 ) [1] => Array ( [0] => IM002 [SQLSTATE] => IM002 [1] => 0 [code] => 0 [2] => [Microsoft][ODBC Driver Manager] Veri kaynağı adı bulunamadı ve varsayılan sürücü belirtilmemiş [message] => [Microsoft][ODBC Driver Manager] Veri kaynağı adı bulunamadı ve varsayılan sürücü belirtilmemiş ) )
kodda yanılmıyorsam 2012 bağlantısı olarak oldugunu düsünüyorum
dosyalarıda wampp ekledim
php_sqlsrv_54_ts.dll
php_pdo_sqlsrv_54_ts.dll
ama benim kisi 2008 kafam iyice karıstı :D
bu forumda daha öncelerden böyle bi konu vardı
http://forum.shiftdelete.net/web-programlama-php-asp-html-css-javascript-jquery-extjs/334674-php-ile-mssql-e-baglanma.html
ona göre yapmaya çalıştım birtakım hatalar karşılaştım.
<?php$serverName ="ADMIN";
$connectionInfo=array("Database"=>"sefa");$conn = sqlsrv_connect($serverName,$connectionInfo);if($conn){
echo "Bağlantı var!<br />";
}else { echo "bağlantı yok!<br />"; die(print_r(sqlsrv_errors(),true)); }
?>
ve ekran çıktısı şöyle
bağlantı yok!
Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] => -49 [2] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => This extension requires the Microsoft SQL Server 2012 Native Client. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712 ) [1] => Array ( [0] => IM002 [SQLSTATE] => IM002 [1] => 0 [code] => 0 [2] => [Microsoft][ODBC Driver Manager] Veri kaynağı adı bulunamadı ve varsayılan sürücü belirtilmemiş [message] => [Microsoft][ODBC Driver Manager] Veri kaynağı adı bulunamadı ve varsayılan sürücü belirtilmemiş ) )
kodda yanılmıyorsam 2012 bağlantısı olarak oldugunu düsünüyorum
dosyalarıda wampp ekledim
php_sqlsrv_54_ts.dll
php_pdo_sqlsrv_54_ts.dll
ama benim kisi 2008 kafam iyice karıstı :D
bu forumda daha öncelerden böyle bi konu vardı
http://forum.shiftdelete.net/web-programlama-php-asp-html-css-javascript-jquery-extjs/334674-php-ile-mssql-e-baglanma.html
ona göre yapmaya çalıştım birtakım hatalar karşılaştım.