note 47978 deleted from function.shmop-open by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 10:13:12 +0000 |
| Subject: | note 47978 deleted from function.shmop-open by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196904@lists.php.net to get a copy of this message | ||
Note Submitter: me at here dot com
----
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