Re: [PHP] APC + "Fatal error: Cannot redeclare class..."

2006-07-26 Thread jon
Thanks man... it turns out that I really was redeclaring the class, but it didn't throw an error until I added APC. Kinda weird, yeah? Anyway... it's all good now. -- jon Jochem Maas wrote: jon wrote: So... I've got some code that works just fine without APC, but dies when I add it.

Re: [PHP] APC + "Fatal error: Cannot redeclare class..."

2006-07-26 Thread Jochem Maas
jon wrote: > So... I've got some code that works just fine without APC, but dies when > I add it. > > Here's the error: > Fatal error: Cannot redeclare class that error doesn't tell us much more than you in the context you give... but I'm gonna put money on the fact that your doing something like

[PHP] APC + "Fatal error: Cannot redeclare class..."

2006-07-26 Thread jon
So... I've got some code that works just fine without APC, but dies when I add it. Here's the error: Fatal error: Cannot redeclare class php -v = PHP 5.1.2 (cli) (built: Jul 18 2006 23:21:00) ... any ideas what's up? Obviously, there are other ways I can improve performance on that box, but I