Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
APC caching
  • Hello! Could you explain me how to use APC caching?
    If I enabled
    // default storage driver
    'driver' => 'apc', 1. Fatal error: include() [<a href='function.include'>function.include</a>]: Cannot redeclare class phpquickprofiler in C:\Apache\fuel\core\classes\autoloader.php on line 244 If I sets profiling = false
    2. ErrorException [ Compile Error ]: Cannot redeclare class Fuel\Core\Config_File
    COREPATH/classes/config/file.php @ line 8 What's wrong?
  • APC caching has nothing to do with the PHP code, it's a data cache. My assumption is that you've just installed APC, and these errors are related to the installation. It seems to be a common error with APC...
  • Problem Solved.
    I have added to php.ini apc.include_once_override = 0
    apc.canonicalize = 0
    apc.stat = 0 Here was same problem:
    http://stackoverflow.com/questions/4575341/php-with-apc-fatal-errors-cannot-redeclare-class

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion