If you need to access the Microsoft SQL Server or Sybase Database in Linux, the following software packages are recommended. SybaseCommon http://download.sybase.com/pub/ase1192_linux/sybase-common-11.9.2-3.i386.rpm SybaseOpenClient http://download.sybase.com/pub/ase1192_linux/sybase-openclient-11.1.1-3.i386.rpm the following process passed in versions earlier than RedHat 8 (not including 8), and Versions later than RedHat 8 seem to be due to a system package upgrade that causes conflicts with the library of Sybase, I have reported this problem to the PHP DEV TEAM, but it does not seem to have any solution. The same is true for other Linux releases that have been launched in close time. SybaseOpenClient depends on SybaseCommon. These two packages are mainly used to provide client connections to Sybase. Because MSSQL and Sybase are well known, their underlying protocols are roughly the same, so ...... # Rpm-ivh sybase-common-11.9.2-3.i386.rpm sybase-openclient-11.1.1-3.i386.rpm the default installation location is/opt/sybase-11.9.2/after installation is complete, do some simple setup work, add a file named interfaces under the/opt/sybase-11.9.2/directory with the following content: DBServerName query tcp tds7.0 DBServerIPAddress DBServerTCPPort master tcp tds7.0 DBServerIPAddress DBServerTCPPort if you need to connect multiple servers, add such a configuration line. Wrap these two packages before you configure PHP, and then add -- with-sybase-ct =/opt/sybase-11.9.2 in the configuration parameters of php, or -- with-sybase =/opt/sybase-11.9.2. Note: In the latest version of php, a -- with-mssql configuration option is added. This option is used with the FreeTDS library and is not suitable for Sybase. Other installation and configuration processes are omitted.