Re: APC doesn't work on Windows?
| From: | phpxcache | Date: | Mon, 26 May 2008 01:34:31 +0000 |
| Subject: | Re: APC doesn't work on Windows? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37877@lists.php.net to get a copy of this message | ||
you're right, but too bad there's no PHP_FCGI_CHILDREN (pre-fork) for
windows, not even any alternatives
{{{
#ifndef PHP_WIN32
/* Pre-fork, if required */
if (getenv("PHP_FCGI_CHILDREN")) {
children = atoi(getenv("PHP_FCGI_CHILDREN"));
}}}
> No, why should it? The cache is shared perfectly fine if you let PHP handle
> the process spawning (i.e. increasing PHP_FCGI_CHILDREN instead of running
> php-cgi -b (or whatever) multiple times).
>
> I used APC w/ FastCGI some time ago and I'm still using another opcode cache
> with FastCGI at the moment (XCache), and I know lots of people doing the
> same. :)
>
>
> --
> Christian Hoffmann
>
>