Tuesday, July 10, 2012

Enabling MSSQL in Ubuntu 8.04 and 10.04

There is no library for MS-SQL in Ubuntu PHP package. To enable support install php5-sysbase. The following command will install generic support for MSSQL (based on sybase):

aptitude install php5-sybase


mssql_init () and some other mssql functions are not working in the above package, so install MDB@ driver also :

pear install --nodeps MDB2_Driver_mssql