[PHP]Linux下PHP連線MSSQL
OS:RHEL 6.7 64bit
PHP: PHP 5.3.3
說明:
透過ODBC連結MSSQL DB
安裝步驟:
1. FreeTDS and unixODBC.
可透過yum或下載RPM安裝:
#yum install unixODBC
freetds
[root@test tmp]# rpm
-qa | grep freetds
freetds-doc-0.91-2.el6.x86_64
freetds-0.91-2.el6.x86_64
[root@test tmp]# rpm
-qa | grep unixODBC
unixODBC-devel-2.2.14-14.el6.x86_64
unixODBC-2.2.14-14.el6.x86_64
2. Registering...
Read More