| title | Step 1: Configure environment for PHP |
|---|---|
| description | Step 1 of this getting started guide involves installing PHP, the Microsoft ODBC Driver for SQL Server, and configuring your development environment. |
| author | David-Engel |
| ms.author | davidengel |
| ms.date | 03/26/2018 |
| ms.service | sql |
| ms.subservice | connectivity |
| ms.custom | linux-related-content |
| ms.topic | conceptual |
[!INCLUDEDriver_PHP_Download]
- Identify which version of the PHP driver you will use, based on your environment, as noted here: System Requirements for the Microsoft Drivers for PHP for SQL Server
- Download and install applicable PHP Driver here: Microsoft Drivers for PHP for SQL Server
- Download and install applicable ODBC Driver here: Download ODBC Driver for SQL Server
- Configure the PHP driver and web server for your specific operating system:
- Configure loading the PHP driver, as noted here: Loading the Microsoft Drivers for PHP for SQL Server
- Configure IIS to host PHP applications, as noted here: Configuring IIS for the Microsoft Drivers for PHP for SQL Server
- Configure loading the PHP driver and configure your web server to host PHP applications, as noted here: PHP Linux and macOS Drivers Installation Tutorial