How to make a connection to SQL SERVER with php from a web server?

0

I have the following error:

   Array ( [0] => Array ( [0] => IMSSP [SQLSTATE] => IMSSP [1] => -49 [code] 
=> 
  -49 [2] => This extension requires the Microsoft ODBC Driver 11 or 13 for 
SQL 
Server. Access the following URL to download the ODBC Driver 11 or 13 for 
SQL 
Server for x64: http://go.microsoft.com/fwlink/?LinkId=163712 [message] => 
This extension requires the Microsoft ODBC Driver 11 or 13 for SQL Server. 
Access the following URL to download the ODBC Driver 11 or 13 for SQL Server 
for x64: http://go.microsoft.com/fwlink/?LinkId=163712 ) [1] => Array ( [0] 
=> 
 IM002 [SQLSTATE] => IM002 [1] => 0 [code] => 0 [2] => [unixODBC][Driver 
 Manager]Data source name not found, and no default driver specified 
 [message] 
 => [unixODBC][Driver Manager]Data source name not found, and no default 
driver 
 specified ) )' 

but when doing it locally in xammp there is no problem, I have already published the ip server where the database is hosted and nothing I get the same error, I would like to know if anyone knows how to do it? THANK YOU

    
asked by Eduardo 06.11.2018 в 19:14
source

0 answers