Because I am lazy, I usually use xampp to modify it directly... (Of course, the general php version in xampp is relatively new. Please pay attention during the process of using it, it may be Conflicts with older versions)
In addition to using xampp, this time we also expanded the configuration of sphinx, redis, sqlserver in Linux, etc.
#Basic installation
TEST1dsn = First Test DSN
[TEST1dsn]
Driver = /usr/local/freetds/lib/libtdsodbc.so
Description = First Test DSN
Trace = No
Servername = myserver
Database = xxx
UID = trace
[Default]
Driver = /usr/local/freetds/lib/libtdsodbc.so
<span [myserver] <br />host= xxxx<br />port=1433 <br />tds version=7.0</span>