Step 1: Configure environment for PHP development
- 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:
Windows
- 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
Linux and macOS
- Configure loading the PHP driver and configure your web server to host PHP applications, as noted here: PHP Linux and macOS Drivers Installation Tutorial