Requisitos do sistema para os Microsoft Drivers for PHP for SQL ServerSystem Requirements for the Microsoft Drivers for PHP for SQL Server

BaixarBaixar o driver PHPDownloadDownload PHP Driver

Este documento lista os componentes que devem ser instalados em seu sistema para acessar dados em um SQL Server ou em um banco de dados Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL ServerSQL do Azure usando o.This document lists the components that must be installed on your system to access data in a SQL Server or Azure SQL Database using the Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Server.

As versões 3,1 e posteriores dos drivers do Microsoft PHP para SQL Server são oficialmente suportadas.Versions 3.1 and later of the Microsoft PHP Drivers for SQL Server are officially supported. Para obter detalhes completos sobre os requisitos e os ciclos de vida de suporte, incluindo versões anteriores dos drivers do PHP, consulte a matriz de suporte.For full details on support lifecycles and requirements including earlier versions of the PHP drivers, see the support matrix.

PHPPHP

Para obter informações sobre como baixar e instalar os últimos binários estáveis do PHP, confira o site do PHP.For information about how to download and install the latest stable PHP binaries, see the PHP web site. Os drivers da Microsoft para PHP para SQL Server exigem as seguintes versões do PHP:The Microsoft Drivers for PHP for SQL Server require the following versions of PHP:

PHP para versão do driver SQL Server→PHP for SQL Server driver version →
↓ Versão do PHP↓ PHP version
5.65.6 5.35.3 5.25.2 4.34.3 4.04.0 3.23.2 3.13.1
7.37.3 7.3.0+7.3.0+
7.27.2 7.2 +17.2+1 7.2 +17.2+1 7.2 +17.2+1
7.17.1 7.1.0+7.1.0+ 7.1.0+7.1.0+ 7.1.0+7.1.0+ 7.1.0+7.1.0+
7.07.0 7.0.0+7.0.0+ 7.0.0+7.0.0+ 7.0.0+7.0.0+ 7.0.0+7.0.0+
5.65.6 5.6.4+5.6.4+
5.55.5 5.5.16+5.5.16+ 5.5.16+5.5.16+
5.45.4 5.4.325.4.32 5.4.325.4.32
  1. As versões 7.2.1 e posteriores têm suporte no Windows, enquanto as versões 7.2.0 e posteriores têm suporte no Linux e no macOS.Versions 7.2.1 and later are supported on Windows, while versions 7.2.0 and later are supported on Linux and macOS.
  • Uma versão do arquivo do driver deve estar no seu diretório de extensões do PHP.A version of the driver file must be in your PHP extension directory. Consulte versões de driver para obter informações sobre os diferentes arquivos de driver.See Driver Versions for information about the different driver files. Para baixar os drivers, confira Baixar Microsoft Drivers for PHP for SQL Server.To download the drivers, see Download the Microsoft Drivers for PHP for SQL Server. Para obter informações sobre como configurar o driver para o PHP, confira Carregando os Microsoft Drivers for PHP for SQL Server.For information on configuring the driver for the PHP, see Loading the Microsoft Drivers for PHP for SQL Server.

  • Um servidor Web é necessário.A Web server is required. O servidor Web deve ser configurado para executar o PHP.Your Web server must be configured to run PHP. Para obter informações sobre como hospedar aplicativos PHP com o IIS, consulte o tutorial no site do PHP.For information about hosting PHP applications with IIS, see the tutorial on PHP's web site.

    O Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Server foi testado usando o IIS 10 com FastCGI.The Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Server has been tested using IIS 10 with FastCGI.

    Observação

    A Microsoft fornece suporte somente para o IIS.Microsoft provides support only for IIS.

Driver ODBCODBC Driver

A versão correta do Microsoft ODBC Driver for SQL Server é necessária no computador no qual o PHP está em execução.The correct version of the Microsoft ODBC Driver for SQL Server is required on the computer on which PHP is running. Você pode baixar todas as versões com suporte do driver para plataformas com suporte nesta página.You can download all supported versions of the driver for supported platforms on this page.

Se você estiver baixando a versão do Windows do driver em uma versão de 64 bits do Windows, o instalador ODBC 64-bit instalará drivers ODBC de 32 bits e de 64 bits.If you are downloading the Windows version of the driver on a 64-bit version of Windows, the ODBC 64-bit installer installs both 32-bit and 64-bit ODBC drivers. Se você usar uma versão de 32 bits do Windows, use o instalador ODBC x86.If you use a 32-bit version of Windows, use the ODBC x86 installer. Em plataformas não Windows, somente as versões de 64 bits do driver estão disponíveis.On non-Windows platforms, only 64-bit versions of the driver are available.

PHP para versão do driver SQL Server→PHP for SQL Server driver version →
↓ Versão do ODBC Driver↓ ODBC Driver version
5.65.6 5.35.3 5.25.2 4.34.3 4.04.0 3.23.2 3.13.1
ODBC Driver 17+ODBC Driver 17+ SY SY SY
ODBC Driver 13.1ODBC Driver 13.1 SY SY SY SY SY
ODBC Driver 13ODBC Driver 13 SY
ODBC Driver 11ODBC Driver 11 SY SY SY SY SY SY SY

Se você estiver usando o driver sqlsrv, sqlsrv_client_info retornará informações sobre qual versão do SQL ServerSQL Server Microsoft ODBC driver for SQL Server está Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Serversendo usada pelo.If you are using the SQLSRV driver, sqlsrv_client_info returns information about which version of SQL ServerSQL Server Microsoft ODBC Driver for SQL Server is being used by the Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Server. Se estiver usando o driver PDO_SQLSRV, use PDO::getAttribute para descobrir a versão.If you are using the PDO_SQLSRV driver, you can use PDO::getAttribute to discover the version.

SQL ServerSQL Server

Há suporte para bancos de dados SQL do Azure.Azure SQL Databases are supported. Para obter informações, confira Conectando-se ao Banco de Dados SQL do Microsoft Azure.For information, see Connecting to Microsoft Azure SQL Database.

PHP para versão do driver SQL Server→PHP for SQL Server driver version →
↓ Versão do SQL Server↓ SQL Server version
5.65.6 5.35.3 5.25.2 4.34.3 4.04.0 3.23.2 3.13.1
Banco de dados SQL do AzureAzure SQL Database SY SY SY SY
Instância Gerenciada do SQL do AzureAzure SQL Managed Instance SY SY SY SY
Azure SQL Data WarehouseAzure SQL Data Warehouse SY SY SY SY
SQL Server 2017SQL Server 2017 SY SY SY SY
SQL Server 2016SQL Server 2016 SY SY SY SY SY
SQL Server 2014SQL Server 2014 SY SY SY SY SY SY SY
SQL Server 2012SQL Server 2012 SY SY SY SY SY SY SY
SQL Server 2008 R2SQL Server 2008 R2 SY SY SY SY SY SY SY
SQL Server 2008SQL Server 2008 SY SY SY

Sistemas operacionaisOperating Systems

Os sistemas operacionais com suporte para cada versão do driver são os seguintes:Supported operating systems for each version of the driver are as follows:

PHP para versão do driver SQL Server→PHP for SQL Server driver version →
↓ Sistema operacional↓ Operating system
5.65.6 5.35.3 5.25.2 4.34.3 4.04.0 3.23.2 3.13.1
Windows Server 2016Windows Server 2016 SY SY SY SY
Windows Server 2012 R2Windows Server 2012 R2 SY SY SY SY SY SY SY
Windows Server 2012Windows Server 2012 SY SY SY SY SY SY SY
Windows Server 2008 R2 SP1Windows Server 2008 R2 SP1 SY SY SY
Windows Server 2008 SP2Windows Server 2008 SP2 SY SY SY
Windows 10Windows 10 SY SY SY SY SY
Windows 8.1Windows 8.1 SY SY SY SY SY SY SY
Windows 8Windows 8 SY SY SY SY
Windows 7 SP1Windows 7 SP1 SY SY SY
Windows Vista SP2Windows Vista SP2 SY SY SY
Ubuntu 18,10 (64 bits)Ubuntu 18.10 (64-bit) SY
Ubuntu 18, 4 (64 bits)Ubuntu 18.04 (64-bit) SY SY
Ubuntu 17,10 (64 bits)Ubuntu 17.10 (64-bit) SY SY
Ubuntu 16, 4 (64 bits)Ubuntu 16.04 (64-bit) SY SY SY SY SY
Ubuntu 15,10 (64 bits)Ubuntu 15.10 (64-bit) SY
Ubuntu 15, 4 (64 bits)Ubuntu 15.04 (64-bit) SY
Debian 9 (64 bits)Debian 9 (64-bit) SY SY SY
Debian 8 (64 bits)Debian 8 (64-bit) SY SY SY SY
Red Hat Enterprise Linux 7 (64 bits)Red Hat Enterprise Linux 7 (64-bit) SY SY SY SY SY
SuSE Enterprise Linux 15 (64 bits)Suse Enterprise Linux 15 (64-bit) SY
SuSE Enterprise Linux 12 (64 bits)Suse Enterprise Linux 12 (64-bit) SY SY SY
macOS Mojave (64 bits)macOS Mojave (64-bit) SY
macOS High Sierra (64 bits)macOS High Sierra (64-bit) SY SY
macOS Sierra (64 bits)macOS Sierra (64-bit) SY SY SY SY
macOS El Capitan (64 bits)macOS El Capitan (64-bit) SY SY SY

Versões de driverDriver Versions

Esta seção lista os arquivos de driver incluídos em cada versão do Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Server.This section lists the driver files that are included with each version of the Drivers da Microsoft para PHP para SQL ServerMicrosoft Drivers for PHP for SQL Server. Cada pacote de instalação contém arquivos de driver SQLSRV e PDO_SQLSRV em variantes threaded e não threaded.Each installation package contains SQLSRV and PDO_SQLSRV driver files in threaded and non-threaded variants. No Windows, eles também estão disponíveis em variantes de 32 bits e 64 bits.On Windows, they are also available in 32-bit and 64-bit variants. Para configurar o driver para uso com o tempo de execução do PHP, siga as instruções de instalação em carregando os drivers da Microsoft para PHP para SQL Server.To configure the driver for use with the PHP runtime, follow the installation instructions in Loading the Microsoft Drivers for PHP for SQL Server.

Nas versões com suporte do Linux e do macOS, os drivers apropriados podem ser instalados usando o sistema de pacotes PECL do PHP, seguindo as instruções de instalação do Linux e do MacOS.On supported versions of Linux and macOS, the appropriate drivers can be installed using PHP's PECL package system, following the Linux and macOS installation instructions. Como alternativa, você pode baixar binários pré-criados para sua plataforma na página de projeto drivers da Microsoft para PHP para SQL Server GitHub--as tabelas abaixo listam os arquivos encontrados nos pacotes binários predefinidos.Alternatively, you can download prebuilt binaries for your platform from the Microsoft Drivers for PHP for SQL Server Github project page -- the tables below list the files found in the prebuilt binary packages.

Microsoft Drivers 5.6 para PHP para SQL Server:Microsoft Drivers 5.6 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_71_nts.dll de 32 bits32-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 32 bits32-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_71_ts.dll de 32 bits32-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 32 bits32-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_71_nts.dll de 64 bits64-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 64 bits64-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_71_ts.dll de 64 bits64-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 64 bits64-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_72_nts.dll de 32 bits32-bit php_sqlsrv_72_nts.dll
php_pdo_sqlsrv_72_nts.dll de 32 bits32-bit php_pdo_sqlsrv_72_nts.dll
7.27.2 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_72_ts.dll de 32 bits32-bit php_sqlsrv_72_ts.dll
php_pdo_sqlsrv_72_ts.dll de 32 bits32-bit php_pdo_sqlsrv_72_ts.dll
7.27.2 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_72_nts.dll de 64 bits64-bit php_sqlsrv_72_nts.dll
php_pdo_sqlsrv_72_nts.dll de 64 bits64-bit php_pdo_sqlsrv_72_nts.dll
7.27.2 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_72_ts.dll de 64 bits64-bit php_sqlsrv_72_ts.dll
php_pdo_sqlsrv_72_ts.dll de 64 bits64-bit php_pdo_sqlsrv_72_ts.dll
7.27.2 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_73_nts.dll de 32 bits32-bit php_sqlsrv_73_nts.dll
php_pdo_sqlsrv_73_nts.dll de 32 bits32-bit php_pdo_sqlsrv_73_nts.dll
7.37.3 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_73_ts.dll de 32 bits32-bit php_sqlsrv_73_ts.dll
php_pdo_sqlsrv_73_ts.dll de 32 bits32-bit php_pdo_sqlsrv_73_ts.dll
7.37.3 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_73_nts.dll de 64 bits64-bit php_sqlsrv_73_nts.dll
php_pdo_sqlsrv_73_nts.dll de 64 bits64-bit php_pdo_sqlsrv_73_nts.dll
7.37.3 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_73_ts.dll de 64 bits64-bit php_sqlsrv_73_ts.dll
php_pdo_sqlsrv_73_ts.dll de 64 bits64-bit php_pdo_sqlsrv_73_ts.dll
7.37.3 simyes 64 bits php7ts. dll64-bit php7ts.dll

No Linux, as seguintes versões do driver estão incluídas:On Linux, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe?
php_sqlsrv_71_nts.sophp_sqlsrv_71_nts.so
php_pdo_sqlsrv_71_nts.sophp_pdo_sqlsrv_71_nts.so
7.17.1 nãono
php_sqlsrv_71_ts.sophp_sqlsrv_71_ts.so
php_pdo_sqlsrv_71_ts.sophp_pdo_sqlsrv_71_ts.so
7.17.1 simyes
php_sqlsrv_72_nts.sophp_sqlsrv_72_nts.so
php_pdo_sqlsrv_72_nts.sophp_pdo_sqlsrv_72_nts.so
7.27.2 nãono
php_sqlsrv_72_ts.sophp_sqlsrv_72_ts.so
php_pdo_sqlsrv_72_ts.sophp_pdo_sqlsrv_72_ts.so
7.27.2 simyes
php_sqlsrv_73_nts.sophp_sqlsrv_73_nts.so
php_pdo_sqlsrv_73_nts.sophp_pdo_sqlsrv_73_nts.so
7.37.3 nãono
php_sqlsrv_73_ts.sophp_sqlsrv_73_ts.so
php_pdo_sqlsrv_73_ts.sophp_pdo_sqlsrv_73_ts.so
7.37.3 simyes

Microsoft Drivers 5.3 for PHP for SQL Server:Microsoft Drivers 5.3 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_7_nts.dll de 32 bits32-bit php_sqlsrv_7_nts.dll
php_pdo_sqlsrv_7_nts.dll de 32 bits32-bit php_pdo_sqlsrv_7_nts.dll
7.07.0 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_7_ts.dll de 32 bits32-bit php_sqlsrv_7_ts.dll
php_pdo_sqlsrv_7_ts.dll de 32 bits32-bit php_pdo_sqlsrv_7_ts.dll
7.07.0 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_7_nts.dll de 64 bits64-bit php_sqlsrv_7_nts.dll
php_pdo_sqlsrv_7_nts.dll de 64 bits64-bit php_pdo_sqlsrv_7_nts.dll
7.07.0 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_7_ts.dll de 64 bits64-bit php_sqlsrv_7_ts.dll
php_pdo_sqlsrv_7_ts.dll de 64 bits64-bit php_pdo_sqlsrv_7_ts.dll
7.07.0 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_71_nts.dll de 32 bits32-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 32 bits32-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_71_ts.dll de 32 bits32-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 32 bits32-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_71_nts.dll de 64 bits64-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 64 bits64-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_71_ts.dll de 64 bits64-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 64 bits64-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_72_nts.dll de 32 bits32-bit php_sqlsrv_72_nts.dll
php_pdo_sqlsrv_72_nts.dll de 32 bits32-bit php_pdo_sqlsrv_72_nts.dll
7.27.2 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_72_ts.dll de 32 bits32-bit php_sqlsrv_72_ts.dll
php_pdo_sqlsrv_72_ts.dll de 32 bits32-bit php_pdo_sqlsrv_72_ts.dll
7.27.2 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_72_nts.dll de 64 bits64-bit php_sqlsrv_72_nts.dll
php_pdo_sqlsrv_72_nts.dll de 64 bits64-bit php_pdo_sqlsrv_72_nts.dll
7.27.2 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_72_ts.dll de 64 bits64-bit php_sqlsrv_72_ts.dll
php_pdo_sqlsrv_72_ts.dll de 64 bits64-bit php_pdo_sqlsrv_72_ts.dll
7.27.2 simyes 64 bits php7ts. dll64-bit php7ts.dll

No Linux, as seguintes versões do driver estão incluídas:On Linux, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe?
php_sqlsrv_7_nts.sophp_sqlsrv_7_nts.so
php_pdo_sqlsrv_7_nts.sophp_pdo_sqlsrv_7_nts.so
7.07.0 nãono
php_sqlsrv_7_ts.sophp_sqlsrv_7_ts.so
php_pdo_sqlsrv_7_ts.sophp_pdo_sqlsrv_7_ts.so
7.07.0 simyes
php_sqlsrv_71_nts.sophp_sqlsrv_71_nts.so
php_pdo_sqlsrv_71_nts.sophp_pdo_sqlsrv_71_nts.so
7.17.1 nãono
php_sqlsrv_71_ts.sophp_sqlsrv_71_ts.so
php_pdo_sqlsrv_71_ts.sophp_pdo_sqlsrv_71_ts.so
7.17.1 simyes
php_sqlsrv_72_nts.sophp_sqlsrv_72_nts.so
php_pdo_sqlsrv_72_nts.sophp_pdo_sqlsrv_72_nts.so
7.27.2 nãono
php_sqlsrv_72_ts.sophp_sqlsrv_72_ts.so
php_pdo_sqlsrv_72_ts.sophp_pdo_sqlsrv_72_ts.so
7.27.2 simyes

Microsoft Drivers 5.2 for PHP for SQL Server:Microsoft Drivers 5.2 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_7_nts.dll de 32 bits32-bit php_sqlsrv_7_nts.dll
php_pdo_sqlsrv_7_nts.dll de 32 bits32-bit php_pdo_sqlsrv_7_nts.dll
7.07.0 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_7_ts.dll de 32 bits32-bit php_sqlsrv_7_ts.dll
php_pdo_sqlsrv_7_ts.dll de 32 bits32-bit php_pdo_sqlsrv_7_ts.dll
7.07.0 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_7_nts.dll de 64 bits64-bit php_sqlsrv_7_nts.dll
php_pdo_sqlsrv_7_nts.dll de 64 bits64-bit php_pdo_sqlsrv_7_nts.dll
7.07.0 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_7_ts.dll de 64 bits64-bit php_sqlsrv_7_ts.dll
php_pdo_sqlsrv_7_ts.dll de 64 bits64-bit php_pdo_sqlsrv_7_ts.dll
7.07.0 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_71_nts.dll de 32 bits32-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 32 bits32-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_71_ts.dll de 32 bits32-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 32 bits32-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_71_nts.dll de 64 bits64-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 64 bits64-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_71_ts.dll de 64 bits64-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 64 bits64-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_72_nts.dll de 32 bits32-bit php_sqlsrv_72_nts.dll
php_pdo_sqlsrv_72_nts.dll de 32 bits32-bit php_pdo_sqlsrv_72_nts.dll
7.27.2 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_72_ts.dll de 32 bits32-bit php_sqlsrv_72_ts.dll
php_pdo_sqlsrv_72_ts.dll de 32 bits32-bit php_pdo_sqlsrv_72_ts.dll
7.27.2 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_72_nts.dll de 64 bits64-bit php_sqlsrv_72_nts.dll
php_pdo_sqlsrv_72_nts.dll de 64 bits64-bit php_pdo_sqlsrv_72_nts.dll
7.27.2 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_72_ts.dll de 64 bits64-bit php_sqlsrv_72_ts.dll
php_pdo_sqlsrv_72_ts.dll de 64 bits64-bit php_pdo_sqlsrv_72_ts.dll
7.27.2 simyes 64 bits php7ts. dll64-bit php7ts.dll

No Linux, as seguintes versões do driver estão incluídas:On Linux, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe?
php_sqlsrv_7_nts.sophp_sqlsrv_7_nts.so
php_pdo_sqlsrv_7_nts.sophp_pdo_sqlsrv_7_nts.so
7.07.0 nãono
php_sqlsrv_7_ts.sophp_sqlsrv_7_ts.so
php_pdo_sqlsrv_7_ts.sophp_pdo_sqlsrv_7_ts.so
7.07.0 simyes
php_sqlsrv_71_nts.sophp_sqlsrv_71_nts.so
php_pdo_sqlsrv_71_nts.sophp_pdo_sqlsrv_71_nts.so
7.17.1 nãono
php_sqlsrv_71_ts.sophp_sqlsrv_71_ts.so
php_pdo_sqlsrv_71_ts.sophp_pdo_sqlsrv_71_ts.so
7.17.1 simyes
php_sqlsrv_72_nts.sophp_sqlsrv_72_nts.so
php_pdo_sqlsrv_72_nts.sophp_pdo_sqlsrv_72_nts.so
7.27.2 nãono
php_sqlsrv_72_ts.sophp_sqlsrv_72_ts.so
php_pdo_sqlsrv_72_ts.sophp_pdo_sqlsrv_72_ts.so
7.27.2 simyes

Microsoft Drivers 4.3 for PHP for SQL Server:Microsoft Drivers 4.3 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_7_nts.dll de 32 bits32-bit php_sqlsrv_7_nts.dll
php_pdo_sqlsrv_7_nts.dll de 32 bits32-bit php_pdo_sqlsrv_7_nts.dll
7.07.0 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_7_ts.dll de 32 bits32-bit php_sqlsrv_7_ts.dll
php_pdo_sqlsrv_7_ts.dll de 32 bits32-bit php_pdo_sqlsrv_7_ts.dll
7.07.0 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_7_nts.dll de 64 bits64-bit php_sqlsrv_7_nts.dll
php_pdo_sqlsrv_7_nts.dll de 64 bits64-bit php_pdo_sqlsrv_7_nts.dll
7.07.0 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_7_ts.dll de 64 bits64-bit php_sqlsrv_7_ts.dll
php_pdo_sqlsrv_7_ts.dll de 64 bits64-bit php_pdo_sqlsrv_7_ts.dll
7.07.0 simyes 64 bits php7ts. dll64-bit php7ts.dll
php_sqlsrv_71_nts.dll de 32 bits32-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 32 bits32-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_71_ts.dll de 32 bits32-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 32 bits32-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_71_nts.dll de 64 bits64-bit php_sqlsrv_71_nts.dll
php_pdo_sqlsrv_71_nts.dll de 64 bits64-bit php_pdo_sqlsrv_71_nts.dll
7.17.1 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_71_ts.dll de 64 bits64-bit php_sqlsrv_71_ts.dll
php_pdo_sqlsrv_71_ts.dll de 64 bits64-bit php_pdo_sqlsrv_71_ts.dll
7.17.1 simyes 64 bits php7ts. dll64-bit php7ts.dll

No Linux, as seguintes versões do driver estão incluídas:On Linux, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe?
php_sqlsrv_7_nts.sophp_sqlsrv_7_nts.so
php_pdo_sqlsrv_7_nts.sophp_pdo_sqlsrv_7_nts.so
7.07.0 nãono
php_sqlsrv_7_ts.sophp_sqlsrv_7_ts.so
php_pdo_sqlsrv_7_ts.sophp_pdo_sqlsrv_7_ts.so
7.07.0 simyes
php_sqlsrv_71_nts.sophp_sqlsrv_71_nts.so
php_pdo_sqlsrv_71_nts.sophp_pdo_sqlsrv_71_nts.so
7.17.1 nãono
php_sqlsrv_71_ts.sophp_sqlsrv_71_ts.so
php_pdo_sqlsrv_71_ts.sophp_pdo_sqlsrv_71_ts.so
7.17.1 simyes

Microsoft Drivers 4.0 for PHP for SQL Server:Microsoft Drivers 4.0 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_7_nts_x86.dllphp_sqlsrv_7_nts_x86.dll
php_pdo_sqlsrv_7_nts_x86.dllphp_pdo_sqlsrv_7_nts_x86.dll
7.07.0 nãono 32 bits Php7. dll32-bit php7.dll
php_sqlsrv_7_ts_x86.dllphp_sqlsrv_7_ts_x86.dll
php_pdo_sqlsrv_7_ts_x86.dllphp_pdo_sqlsrv_7_ts_x86.dll
7.07.0 simyes 32 bits php7ts. dll32-bit php7ts.dll
php_sqlsrv_7_nts_x64.dllphp_sqlsrv_7_nts_x64.dll
php_pdo_sqlsrv_7_nts_x64.dllphp_pdo_sqlsrv_7_nts_x64.dll
7.07.0 nãono 64 bits Php7. dll64-bit php7.dll
php_sqlsrv_7_ts_x64.dllphp_sqlsrv_7_ts_x64.dll
php_pdo_sqlsrv_7_ts_x64.dllphp_pdo_sqlsrv_7_ts_x64.dll
7.07.0 simyes 64 bits php7ts. dll64-bit php7ts.dll

No Linux, as seguintes versões do driver estão incluídas:On Linux, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe?
php_sqlsrv_7_nts.sophp_sqlsrv_7_nts.so
php_pdo_sqlsrv_7_nts.sophp_pdo_sqlsrv_7_nts.so
7.07.0 nãono
php_sqlsrv_7_ts.sophp_sqlsrv_7_ts.so
php_pdo_sqlsrv_7_ts.sophp_pdo_sqlsrv_7_ts.so
7.07.0 simyes

Microsoft Drivers 3.2 for PHP for SQL Server:Microsoft Drivers 3.2 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_54_nts.dllphp_sqlsrv_54_nts.dll
php_pdo_sqlsrv_54_nts.dllphp_pdo_sqlsrv_54_nts.dll
5.45.4 nãono php5.dllphp5.dll
php_sqlsrv_54_ts.dllphp_sqlsrv_54_ts.dll
php_pdo_sqlsrv_54_ts.dllphp_pdo_sqlsrv_54_ts.dll
5.45.4 simyes php5ts.dllphp5ts.dll
php_sqlsrv_55_nts.dllphp_sqlsrv_55_nts.dll
php_pdo_sqlsrv_55_nts.dllphp_pdo_sqlsrv_55_nts.dll
5.55.5 nãono php5.dllphp5.dll
php_sqlsrv_55_ts.dllphp_sqlsrv_55_ts.dll
php_pdo_sqlsrv_55_ts.dllphp_pdo_sqlsrv_55_ts.dll
5.55.5 simyes php5ts.dllphp5ts.dll
php_sqlsrv_56_nts.dllphp_sqlsrv_56_nts.dll
php_pdo_sqlsrv_56_nts.dllphp_pdo_sqlsrv_56_nts.dll
5.65.6 nãono php5.dllphp5.dll
php_sqlsrv_56_ts.dllphp_sqlsrv_56_ts.dll
php_pdo_sqlsrv_56_ts.dllphp_pdo_sqlsrv_56_ts.dll
5.65.6 simyes php5ts.dllphp5ts.dll

Microsoft Drivers 3.1 for PHP for SQL Server:Microsoft Drivers 3.1 for PHP for SQL Server:

No Windows, as seguintes versões do driver estão incluídas:On Windows, the following versions of the driver are included:

Arquivo de driverDriver file Versão do PHPPHP version Thread-safe?Thread safe? Usar com este .dll do PHPUse with PHP .dll
php_sqlsrv_54_nts.dllphp_sqlsrv_54_nts.dll
php_pdo_sqlsrv_54_nts.dllphp_pdo_sqlsrv_54_nts.dll
5.45.4 nãono php5.dllphp5.dll
php_sqlsrv_54_ts.dllphp_sqlsrv_54_ts.dll
php_pdo_sqlsrv_54_ts.dllphp_pdo_sqlsrv_54_ts.dll
5.45.4 simyes php5ts.dllphp5ts.dll
php_sqlsrv_55_nts.dllphp_sqlsrv_55_nts.dll
php_pdo_sqlsrv_55_nts.dllphp_pdo_sqlsrv_55_nts.dll
5.55.5 nãono php5.dllphp5.dll
php_sqlsrv_55_ts.dllphp_sqlsrv_55_ts.dll
php_pdo_sqlsrv_55_ts.dllphp_pdo_sqlsrv_55_ts.dll
5.55.5 simyes php5ts.dllphp5ts.dll

Consulte TambémSee Also

Introdução aos Drivers da Microsoft para PHP para SQL ServerGetting Started with the Microsoft Drivers for PHP for SQL Server

Guia de programação para o Microsoft Drivers para PHP para SQL ServerProgramming Guide for the Microsoft Drivers for PHP for SQL Server

Referência da API do driver SQLSRVSQLSRV Driver API Reference

Referência da API do Driver PDO_SQLSRVPDO_SQLSRV Driver API Reference