A PHP internals RFC discussion proposes minimum supported version requirements for PHP 8.6, specifically requiring autoconf for source builds and MySQL 5.7.3 or MariaDB 10.2.4 for persistent connections. The change is tied to adding COM_RESET_CONNECTION support to PDO and mysqlnd, which makes persistent connection behavior more predictable. During discussion, a community member discovered a connection leak when using PDO::ATTR_PERSISTENT with older MySQL versions (5.5.x) against the proposed implementation — each request opened a new connection instead of reusing the persistent one. The RFC author confirmed the leak exists but considers it a bug in the implementation rather than a flaw in the RFC itself.
229 Impressions