Table of Contents

PHP RFC: Minimum supported versions for PHP 8.6

Introduction

This RFC proposes a slate of minimum supported software versions for PHP 8.6

Proposal

MySQL 5.7.3 and MariaDB 10.2.4

MySQL 5.7.3 and MariaDB 10.2.4 introduced COM_RESET_CONNECTION, a SQL command to reinitialize a connection's state without requiring reauthentication. This is important to be able to safely reuse connections across requests, i.e. persistent connections, without fear of being in an undesirable leftover state.

MySQL 5.7.3 was released on December 3rd, 2013 and reached its end-of-life alongside all 5.7 minor versions on October 25, 2023 (https://www.mysql.com/support/eol-notice.html).

MariaDB 10.2.4 was released on February 17th, 2017 and reached its end-of-life alongside all 10.2 minor versions on May 23rd, 2022 (https://endoflife.date/mariadb).

This RFC proposes that we use COM_RESET_CONNECTION in PDO and mysqlnd when reusing persistent connections. Users that are on MySQL or MariaDB databases from before this feature was implemented may upgrade to PHP 8.6, but would not be able to use persistent connections. This means that their software could continue to work, but they might lose a performance optimization.

Proposed PHP Version(s)

PHP 8.6

RFC Impact

To the Ecosystem

None expected.

To Existing Extensions

To SAPIs

Open Issues

Future Scope

Voting Choices

Each proposal is voted on separately and requires a 2/3 majority:


Implement COM_RESET_CONNECTION requirement as outlined in the RFC?
Real name Yes No Abstain
Final result: 0 0 0
This poll has been closed.

Patches and Tests

Implementation

References

Links to external references, discussions, or RFCs.

Rejected Features

Changelog