debian 支持 sql server 连接

如果你想要让 ubuntu 支持 sql server,需要安装以下的包
freetds-dev
MS SQL and Sybase client library (static libs and headers)
libct3
libraries for connecting to MS SQL and Sybase SQL servers
libsybdb5
libraries for connecting to MS SQL and Sybase SQL servers
tdsodbc
ODBC driver for connecting to MS SQL and Sybase SQL servers
sudo apt-get install   "包名称"

再安装:
sudo apt-get install php5-sybase
然后重启,重启后就一切搞定
sudo /etc/init.d/apache2 restart