On 2010-03-25 06:05:41 John asked:
Install PHP MSSQL drivers in Ubuntu
How do I install MS SQL drivers for PHP on Ubuntu.
He received 1 answers
eventually accepting:
The answer with the highest score with 2 points was:
There is no support for mssql directly under Ubuntu. There are a couple options.
I believe you can get some functionality by using the sybase module.
php5-sybase
Package: php5-sybase Priority: optional Source: php5 Description: Sybase / MS SQL Server module for php5 This package provides a module for Sybase and Microsoft SQL Server database connections directly from PHP scripts. It also includes the pdo_dblib module for use with the PHP Data Object extension.
Another option would be to access the server via odbc. Install php5-odbc and tdsodbc.
The mssql extension that is part of PHP will only function when PHP is built on Windows. http://www.php.net/manual/en/intro.mssql.php
There is another driver/extension from Microsoft that supports PHP, but appears to only be functional on Windows. http://www.codeplex.com/SQLSRVPHP
Of course, you should really check out the original question.
The post Install PHP MSSQL drivers in Ubuntu [ANSWERED] appeared first on Tech ABC to XYZ.