Versions of PHP4 since 4.0.1 provide a shell script, mod_files.sh, for creating a session file directory structure, as per the comments for session.save_path in the default php.ini file. This utility is required if one uses the syntax: session.save_path = "N;/path" This directory structure isn't created by default by PHP and must be created prior to using PHP4 native sessions if one is using this feature. mod_files.sh is provided in the ext/session directory relative to the root of the source tree. A small patch to touch up the php.ini comment documentation would also be helpful since this script isn't named there, although its location in the source tree is given. If PHP session data is stored in /dev/shm then the required directory structure must obviously be re-created each time the OS is restarted.
The distributed script is broken in every single php version except >=php-5.1 (see http://bugs.php.net/bug.php?id=28644). Not really worth the hassle I'd say.
OK, I don't think I need the directory separation feature but noted the support script referenced in the ini file was missing and thought it might be worthwhile to point this out. Thanks for your attention on this.
Yeah, the script won't be installed by dev-lang/php, as it's broken for most PHP releases, not really useful (that usage of the session stuff isn't that great), and it's anyway very easy to get the script if you really need it. Best regards, CHTEKK.