Enable/disable MSSQL PHP modules
Enable mssql module
First, you need to install mssql support (Debian / Ubuntu):
apt-get install php5-sybase
Then restart apache:
sudo service apache restart
Enable proper freetds version and encoding
For best results FreeTDS version 8.0 is required. You can change this by modifying
tds version = 8.0 client charset = UTF-8
Nothing has to be restarted, the changes are immediately applied.
There may be other locations of freetds.conf, so use
locate freetds.conf to find other versions if the above is not enough.