Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.55 KB

File metadata and controls

33 lines (24 loc) · 1.55 KB
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.reviewer randolphwest
ms.date 01/02/2026
ms.service sql
ms.subservice connectivity
ms.topic how-to
ms.custom
linux-related-content

Step 1: Configure environment for PHP development

[!INCLUDE Driver_PHP_Download]

  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.