Edit freetds.conf (uncomment and change version):

from

<code>[global]
        # TDS protocol version
;   tds version = 4.2</code>

to

<code>[global]
        # TDS protocol version
    tds version = 7.0</code>

and restart apache.

 

Source: http://stackoverflow.com/questions/13180746/mssql-connect-unable-to-connect-to-server-without-freetds-conf