CakeFest 2024: The Official CakePHP Conference

Introdução

A extensão SQLSRV permite acessar bancos de dados Microsoft SQL Server e SQL Azure. A versão 3.0 do driver suporta o SQL Server, começando com o SQL Server 2005, incluindo o SQL Server 2012 e o SQL Server 2012 LocalDB. (Para mais informações sobre o LocalDB, consulte » Suporte do Driver PHP para SQL Server para LocalDB e » Informações sobre o SQL Server 2012 Express LocalDB.)

A extensão SQLSRV é suportada pela Microsoft e está disponível para download aqui: » http://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx. O SQL Server 2012 LocalDB pode ser baixado aqui: » http://go.microsoft.com/fwlink/?LinkID=237665.

add a note

User Contributed Notes 3 notes

up
4
wr
6 years ago
According to Microsoft, this extension works on Linux:
https://github.com/Microsoft/msphpsql
(the introduction above does not mention this, rather it says "when running PHP on Windows")
up
4
kylewiering at yahoo dot com
8 years ago
Microsoft has now committed a PHP 7 pre-release beta of the SQLSRV driver on github:
https://github.com/Azure/msphpsql/tree/PHP-7.0

It looks like the PDO driver is their next target. Anyone interested in using mssql and php7 might want to follow/star that repository.
To Top