note 47978 added to function.shmop-open

From: Date: Wed, 08 Dec 2004 01:04:06 +0000
Subject: note 47978 added to function.shmop-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-81504@lists.php.net to get a copy of this message
Just an alternative idea if 'shared memory' is what you need for your websites, you can use tmpfs (on Linux): Get root to do this: mkdir /home/myname/tmpfs chown myname:mygroup /home/myname/tmpfs ..and this in a script executed at boot time: mount -t tmpfs /mnt/tmpfs /home/myuser/tmpfs Now you can use regular file functions (including locking) to access shared memory between all your processes. More info: http://docsun.cites.uiuc.edu/sun_docs/C/ ...and this because the note editor doesn't accept long lines... solaris_9/SUNWaadm/SYSADV1/p150.html ---- Manual Page -- http://www.php.net/manual/en/function.shmop-open.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+47978 Delete -- http://master.php.net/manage/user-notes.php?action=delete+47978&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+47978&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+47978&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+47978&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+47978&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+47978&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+47978&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#81504) next »