02-28-2010, 08:27 AM
[eluser]Dennis_gull[/eluser]
I just installed memcache and APC on my localhost and once I ran one of my codeigniter application I got spammed with this message like 200 times over:
I tried to comment out the line but now I have an even bigger problem, the entire server crashes and I get the following error message in my apache_error.log:
Is there something I have to do to get APC to work correctly?
EDIT:
I solved the problem by turning off apc.cache_by_default, shouldn't I be able to have this on?
I just installed memcache and APC on my localhost and once I ran one of my codeigniter application I got spammed with this message like 200 times over:
Quote:Notice: Constant CI_VERSION already defined in C:\wamp\www\g\mvc\codeigniter\CodeIgniter.php on line 31
I tried to comment out the line but now I have an even bigger problem, the entire server crashes and I get the following error message in my apache_error.log:
Quote:[apc-error] Cannot redeclare class ci_benchmark in C:\wamp\www\g\mvc\codeigniter\Common.php on line 127.
Is there something I have to do to get APC to work correctly?
EDIT:
I solved the problem by turning off apc.cache_by_default, shouldn't I be able to have this on?