Edit

Share via


Step 1: Configure environment for PHP development

Download PHP driver

  1. Identify which version of the PHP driver to use, based on your environment. For more information, see System requirements for the Microsoft Drivers for PHP for SQL Server.

  2. Download and install the Microsoft Drivers for PHP for SQL Server.

  3. Download and install the ODBC Driver for SQL Server.

  4. Configure the PHP driver and web server for your specific operating system.

Windows

Linux and macOS

To configure loading the PHP driver and configure your web server to host PHP applications, see Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server.