Re: Re: global variables
| From: | Rasmus Lerdorf | Date: | Tue, 07 Dec 2004 17:58:16 +0000 |
| Subject: | Re: Re: global variables | ||
| References: | 1 2 3 4 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1703@lists.php.net to get a copy of this message | ||
> Thank you for your complete answer.
> But Turck mmcache provide a function to store variable in a shared memory
> which is common to all process (
> http://turck-mmcache.sourceforge.net/index_old.html#api ).
> So there must be a way to do that but I watch mmcache sources and I don't find
> the thing...
That's because mmcache manages its own shared memory segment. APC is able
to do that too. If you want to do it, allocate some shared memory and
stick the variable there.
-Rasmus