PHP RFC: Remove the MM session handler
- Version: 1.0
- Date: 2026-12-02
- Author: Marc Henderkes, m@pyc.ac
- Status: Draft (Later in the RFC process “Under Discussion”, “Voting”, and finally “Accepted”, “Declined” or “Implemented”)
- Implementation: https://github.com/php/php-src/pull/25943
- Discussion thread: https://news-web.php.net/php.internals/133227
- Voting thread: tbd
After checking all common distributions of php (Debian, Ubuntu, Fedora, RHEL, Arch, Alpine, Docker images), it seems that none of them enable the mm handler. Checked via php --ri session | grep Registered. The library the documentation says you do not need (but actually do need) is still included in Fedora and Ubuntu streams and manually enabling it is possible in NTS.
The last public mentions of it appear to go back to 2008 and after browsing through all the available documentation and explanations of it online, I still don't know what it is meant to do. Essentially, there is no documentation on it that doesn't 404 today.
Proposal
Going with my intent to remove NTS as an option in 9.0, I would like to propose the removal of the mm handler, rather than making it thread safe.
Proposed PHP Version(s)
8.7 (next php minor/major)
RFC Impact
To the Ecosystem
Essentially none, given that I've not been able to find any actual use of the handler in this decade.
To Existing Extensions
None.
To SAPIs
None.
Open Issues
None.
Future Scope
None.
Primary Vote requiring a 2/3 majority to accept the RFC: