I've spend a lot of hours trying to install and configure freeTDS and unixodbc to make my LARAVEL app work with a mssql database.
First of all I installed the sybase and followed the instructions of this thread: Connect PHP to MSSQL via PDO ODBC
Of course it didn't work, so I looked for a log to know whatever was happening.
After I got the freetds.log I noticed that my freetds is using a 4.2 version to login and perform the database requests and it doesn't support it.
I get this error in the freetds.log.
NT login not support using TDS 4.x or 5.0
After this, I've tried to install freetds manually using this thread: How to install freetds in Linux?
And even If when I execute tsql -C it shows that I'm using tds version= 7.4 on log keeps saying 4.2
What can I do? I'm desperated.
Thanks