Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-25 Thread phpxcache
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

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-25 Thread Edward Z. Yang
Christian Hoffmann wrote: 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). As phpxcache mentioned, that's not an option in Windows. Are you running

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-25 Thread Edward Z. Yang
Rasmus Lerdorf wrote: We don't have any active developers contributing to APC on Windows at the moment. We try to not do stuff that will break Windows, but beyond that we rely on people interested in that platform to step up and help out. I wish I could say, Yes! I'm interested in helping

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-25 Thread Edward Z. Yang
Arvids Godjuks wrote: Use XCache instead - it's simple, fast and stable. APC is far more complex and unstable (is't like code for code) I wouldn't dare host a production website on a Windows website ;-). I'm much more interested in getting APC running for testing purposes; seeing how nicely my

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-24 Thread Christian Hoffmann
On 2008-05-24 04:03, Edward Z. Yang wrote: Jared Williams wrote: I'm running php 5.2.5 NTS with APC 3.1.0-dev. It works, but not without some issues, like occasionally get a FastCGI process crashing which I suspect is APC. Hello Jared, Doesn't running APC under FastCGI kind of defeat the

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-24 Thread Arvids Godjuks
Use XCache instead - it's simple, fast and stable. APC is far more complex and unstable (is't like code for code) 2008/5/23 Edward Z. Yang [EMAIL PROTECTED]: I don't really care either way, but if it's a well known fact, might as well stop trying. Does APC work on Windows? I recently submitted

[PHP-DEV] APC doesn't work on Windows?

2008-05-23 Thread Edward Z. Yang
I don't really care either way, but if it's a well known fact, might as well stop trying. Does APC work on Windows? I recently submitted a patch to fix the snaps.php.net compilation of APC, but for any non-trivial script (interestingly enough, apc.php and and phpinfo() work fine), APC segfaults

RE: [PHP-DEV] APC doesn't work on Windows?

2008-05-23 Thread Jared Williams
-Original Message- From: Edward Z. Yang [mailto:[EMAIL PROTECTED] Sent: 23 May 2008 20:23 To: internals@lists.php.net Subject: [PHP-DEV] APC doesn't work on Windows? I don't really care either way, but if it's a well known fact, might as well stop trying. Does APC work

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-23 Thread Edward Z. Yang
Jared Williams wrote: I'm running php 5.2.5 NTS with APC 3.1.0-dev. It works, but not without some issues, like occasionally get a FastCGI process crashing which I suspect is APC. Hello Jared, Doesn't running APC under FastCGI kind of defeat the purpose of APC? -- Edward Z. Yang

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-23 Thread Rasmus Lerdorf
Edward Z. Yang wrote: I don't really care either way, but if it's a well known fact, might as well stop trying. Does APC work on Windows? I recently submitted a patch to fix the snaps.php.net compilation of APC, but for any non-trivial script (interestingly enough, apc.php and and phpinfo()