note 21173 deleted from ref.shmop by danbrown
| From: | danbrown@php.net | Date: | Thu, 21 May 2009 15:07:16 +0000 |
| Subject: | note 21173 deleted from ref.shmop by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155848@lists.php.net to get a copy of this message | ||
Note Submitter: hackie at misato dot prohost dot org
----
Your segment probobly doesn't exist. You should probobly be using the c flag...
"a" for access (sets SHM_RDONLY for shmat) use this flag when you need to open an
existing shared memory segment for read only
"c" for create (sets IPC_CREATE) use this flag when you need to create a new shared
memory segment or if a segment with the same key exists, try to open it for read and write