I’m currently developing a app on PHP(5.3) with Zend Framework (2).
The customer recently announced that that the target database will be MS SQL Server.
So .. I checked several DB adapter options:
PDO_MSSQL seems to be deprecated.
SQLSRV works only for windows servers ?
PDO_ODBC seems as the right choice for different OS support.
Any suggestion what is the proper way to do it in with Zend will be appreciated.
Sure, the library PHP wraps is only available for windows.
You means PDO_SQLSRV. Where you get this information from? You find required information within PDO_SQLSRV
Yes, see PDO_ODBC and ODBC Driver 1.0 for Linux
ZF2 will support this using both drivers since 2.1 (alpha/ or beta ~ next week)
Read this