Intent to deprecate/remove the 'mm' session handler
| From: | Marc Henderkes | Date: | Thu, 26 Nov 2026 12:58:01 +0000 |
| Subject: | Intent to deprecate/remove the 'mm' session handler | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-133227@lists.php.net to get a copy of this message | ||
Hello everyone,
Since most people probably don't remember this weird piece of php, here's a link: www.php.net/manual/en/session.requirements.php
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.
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.
To create the RFC, I would like to ask for wiki karma for the username 'henderkes'.
Thank you,
Marc
PS: if possible, direct removal would probably be better. I have not found a single resource in the public internet to suggest this option was in use anywhere. I'm not sure what the policy is on this.