RE: [PHP-DEV] APC doesn't work on Windows?
| From: | Jared Williams | Date: | Fri, 23 May 2008 23:32:32 +0000 |
| Subject: | RE: [PHP-DEV] APC doesn't work on Windows? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37842@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Edward Z. Yang [mailto:edwardzyang@thewritingpot.com]
> 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 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 or otherwise fatally errors. Some errors I've
> seen include:
>
> [apc-error] Cannot redeclare class simpletest, referer:
> http://localhost/
>
> on code that works perfectly without APC. I've scanned the
> bug list and there are quite a few reports of APC not working
> on Windows--so, is this generally known to be the case?
> --
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.
More worringly, have a tiny application which consistantly executes the
wrong page, when APC is enabled.
The index.php opens a frameset, with the left frame requesting browser.php,
but instead the output of index.php is sent.
Disable APC and the problem goes away.
Haven't been enable to write a failing test case to report it.
Jared