On Nov 26, 2026, at 8:58 AM, Marc Henderkes <[email protected]> wrote:
> 
> 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.

Yeah, for higher-performance session storage, there's now i.e. Redis.
For a built-in in-memory alternative, David was looking at using glibc's
hashtable to replace mm [1]. I myself might be curious if i.e. sqlite
could fill that role with a built-in session save handler.

[1]: https://github.com/php/php-src/pull/17575

Reply via email to