Install the Microsoft SQL Server PHP driver on debian

debian on driver PHP Server SQL Microsoft the Install

Install FreeTDS and the PHP MS SQL extension

sudo apt-get install freetds-common freetds-bin unixodbc php5-sybase

Note: That is correct, the MS SQL extension is in the “php5-sybase” package.

 

Configure FreeTDS

sudo nano /etc/freetds/freetds.conf

Add this at the end of the file:

[yourserver]

host = your.server.name

port = 1433

tds version = 8.0



Saving the comment

Add comment

Required Please choose another name

biuquote
  • Comment
  • Preview
Loading

192.168.15.197