Re: Intent to deprecate/remove the 'mm' session handler

From: Date: Thu, 26 Nov 2026 16:18:59 +0000
Subject: Re: Intent to deprecate/remove the 'mm' session handler
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-133229@lists.php.net to get a copy of this message
Hi Marc, Il 26/11/2026 13:58, Marc Henderkes ha scritto:
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.
I vaguely remember using it in the PHP4 days. Some digging in the internet archive brought me here: https://web.archive.org/web/20070103015034/http://devzone.zend.com/node/view/id/1312 "mm. If you need higher performance, the mm module is a viable alternative; it stores the data in shared memory and is therefore not limited by the hardware I/O system." The mm library has had its latest release 20 years ago: https://manpages.ubuntu.com/manpages/resolute/man3/mm.3.html
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.
I suppose deprecation in 8.7 + subsequent removal would be appropriate, but given its limitations (no locking) and how much faster is disk I/O nowadays, I don't think there would be any reason to use the "mm" handler today. Cheers -- Matteo Beccati

« previous php.internals (#133229) next »