You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release 5.13.0 GA - update version, changelog, and README (#1578)
* Release 5.13.0 GA - update version, changelog, and README
* Align release docs with sql-docs-pr #36704 - Remove PHP 8.2 support references, add missing OS entries (Red Hat 10, Alpine 3.20, SUSE 12, etc.), drop ODBC 13 from README, update Linux-mac-install.md PHP version notes
Copy file name to clipboardExpand all lines: Linux-mac-install.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
# Linux and macOS Installation Tutorial for the Microsoft Drivers for PHP for SQL Server
2
2
The following instructions assume a clean environment and show how to install PHP 8.4, the Microsoft ODBC driver, the Apache web server, and the Microsoft Drivers for PHP for SQL Server on Ubuntu, RedHat, Debian, Suse, Alpine, and macOS. These instructions advise installing the drivers using PECL, but you can also download the prebuilt binaries from the [Microsoft Drivers for PHP for SQL Server](https://github.com/Microsoft/msphpsql/releases) Github project page and install them following the instructions in [Loading the Microsoft Drivers for PHP for SQL Server](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver). For an explanation of extension loading and why we do not add the extensions to php.ini, see the section on [loading the drivers](https://docs.microsoft.com/sql/connect/php/loading-the-php-sql-driver#loading-the-driver-at-php-startup).
3
3
4
-
The following instructions install PHP 8.4 by default using `pecl install`, if the PHP 8.4 packages are available. You may need to run `pecl channel-update pecl.php.net` first. Note that some supported Linux distros may default to older PHP versions -- please see the notes at the beginning of each section to install PHP 8.2 or 8.3 instead.
4
+
The following instructions install PHP 8.4 by default using `pecl install`, if the PHP 8.4 packages are available. You may need to run `pecl channel-update pecl.php.net` first. Note that some supported Linux distros may default to older PHP versions -- please see the notes at the beginning of each section to install PHP 8.3 or 8.5 instead.
5
5
6
6
Also included are instructions for installing the PHP FastCGI Process Manager, PHP-FPM, on Ubuntu. This is needed if you are using the nginx web server instead of Apache.
7
7
@@ -20,7 +20,7 @@ While these instructions contain commands to install both SQLSRV and PDO_SQLSRV
20
20
## Installing the drivers on Ubuntu
21
21
22
22
> [!NOTE]
23
-
> To install PHP 8.2 or 8.3, replace 8.4 with 8.2 or 8.3 in the following commands.
23
+
> To install PHP 8.3 or 8.5, replace 8.4 with 8.3 or 8.5 in the following commands.
24
24
25
25
### Step 1. Install PHP
26
26
```bash
@@ -63,7 +63,7 @@ To test your installation, see [Testing your installation](#testing-your-install
63
63
## Installing the drivers with PHP-FPM on Ubuntu
64
64
65
65
> [!NOTE]
66
-
> To install PHP 8.2 or 8.3, replace 8.4 with 8.2 or 8.3 in the following commands.
66
+
> To install PHP 8.3 or 8.5, replace 8.4 with 8.3 or 8.5 in the following commands.
67
67
68
68
### Step 1. Install PHP
69
69
```bash
@@ -133,7 +133,7 @@ To test your installation, see [Testing your installation](#testing-your-install
133
133
134
134
To install PHP on Red Hat 8, run the following:
135
135
> [!NOTE]
136
-
> To install PHP 8.2 or 8.3, replace remi-8.4 with remi-8.2 or remi-8.3 respectively in the following commands.
136
+
> To install PHP 8.3 or 8.5, replace remi-8.4 with remi-8.3 or remi-8.5 respectively in the following commands.
@@ -196,7 +196,7 @@ To test your installation, see [Testing your installation](#testing-your-install
196
196
## Installing the drivers on Debian
197
197
198
198
> [!NOTE]
199
-
> To install PHP 8.2 or 8.3, replace 8.4 in the following commands with 8.2 or 8.3.
199
+
> To install PHP 8.3 or 8.5, replace 8.4 in the following commands with 8.3 or 8.5.
200
200
201
201
### Step 1. Install PHP
202
202
```bash
@@ -251,7 +251,7 @@ To test your installation, see [Testing your installation](#testing-your-install
251
251
> In the following instructions, replace `<SuseVersion>` with your version of Suse - if you are using Suse Enterprise Linux 15, it will be SLE_15_SP3 or SLE_15_SP4 (or above). For Suse 12, use SLE_12_SP5 (or above). Not all versions of PHP are available for all versions of Suse Linux - please refer to `http://download.opensuse.org/repositories/devel:/languages:/php` to see which versions of Suse have the default version PHP available, or check `http://download.opensuse.org/repositories/devel:/languages:/php:/` to see which other versions of PHP are available for which versions of Suse.
252
252
253
253
> [!NOTE]
254
-
> Packages for PHP 8.2 or above may not be available for all versions of Suse. Please check the repositories for the latest available PHP versions.
254
+
> Packages for PHP 8.3 or above may not be available for all versions of Suse. Please check the repositories for the latest available PHP versions.
255
255
256
256
### Step 1. Install PHP
257
257
```bash
@@ -344,7 +344,7 @@ If you do not already have it, install Homebrew as follows:
344
344
> If using Apple Silicon (M1/M2/M3) hardware, please install Homebrew and PHP directly without using the emulator Rosetta 2.
345
345
346
346
> [!NOTE]
347
-
> To install PHP 8.2 or 8.3, replace php@8.4 with php@8.2 or php@8.3 respectively in the following commands.
347
+
> To install PHP 8.3 or 8.5, replace php@8.4 with php@8.3 or php@8.5 respectively in the following commands.
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
The [Microsoft Drivers for PHP for Microsoft SQL Server][phpdoc] are PHP extensions that allow for the reading and writing of SQL Server data from within PHP scripts. The SQLSRV extension provides a procedural interface while the PDO_SQLSRV extension implements PHP Data Objects (PDO) for accessing data in all editions of SQL Server 2012 and later (including Azure SQL DB). These drivers rely on the [Microsoft ODBC Driver for SQL Server][odbcdoc] to handle the low-level communication with SQL Server.
6
6
7
-
This release contains the SQLSRV and PDO_SQLSRV drivers for PHP 8.2+ with improvements on both drivers and some limitations. Upcoming [releases][releases] will contain additional functionalities, bug fixes, and more.
7
+
This release contains the SQLSRV and PDO_SQLSRV drivers for PHP 8.3+ with improvements on both drivers and some limitations. Upcoming [releases][releases] will contain additional functionalities, bug fixes, and more.
8
8
9
9
## Take our survey
10
10
@@ -37,8 +37,8 @@ Please follow the [Getting started](https://docs.microsoft.com/sql/connect/php/g
37
37
For full details on the system requirements for the drivers, see the [system requirements](https://docs.microsoft.com/sql/connect/php/system-requirements-for-the-php-sql-driver) on Microsoft Docs.
38
38
39
39
On the client machine:
40
-
- 8.2.x, 8.3.x, 8.4.x
41
-
-[Microsoft ODBC Driver 18, 17 or 13][odbcdoc]
40
+
- 8.3.x, 8.4.x, 8.5.x
41
+
-[Microsoft ODBC Driver 18or 17][odbcdoc]
42
42
- If using a Web server such as Internet Information Services (IIS) or Apache, it must be configured to run PHP
43
43
44
44
On the server side, Microsoft SQL Server 2012 and above on Windows are supported, as are Microsoft SQL Server 2016 and above on Linux.
0 commit comments