Title: [Plugin: W3 Total Cache] Errors when activating APC
Last modified: August 20, 2016

---

# [Plugin: W3 Total Cache] Errors when activating APC

 *  Resolved [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * (@myrddinde)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-errors-when-activating-apc/)
 * A few weeks ago I have upgraded to WordPress multisite to use the new features
   and maybe get some people to write on other sections of my blog. Slowly I am 
   trying to get things running as previously and the last thing on my list is W3TC,
   which runs atm on disk caching. To speed things up I reactivated apc on the machine
   and **when i enable APC** I start to get errors.
 *     ```
       /etc/php.d/apc.ini
   
       extension = apc.so
       apc.enabled = 1
       apc.shm_size = 256M
       apc.include_once_override = 1
       apc.mmap_file_mask = /tmp/apc.XXXXXX
       apc.shm_segments = 1
       apc.ttl = 3600
       apc.user_ttl = 3600
       Selective caching
       ```
   
 * upon calling apc.php I can see that it is running properly
 *     ```
       General Cache Information
       APC Version	3.1.9
       PHP Version	5.3.8
       ```
   
 * But then the Admin Backend shows this error:
 *     ```
       It appears Page Cache URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.
       It appears Minify URL rewriting is not working. If using apache, verify that the server configuration allows .htaccess or if using nginx verify all configuration files are included in the configuration.
       ```
   
 * and the apache log shows this error:
 *     ```
       mmo-game.eu/statistics/logs/error_log <==
       [Sun Sep 18 16:49:33 2011] [error] [client 189.15.46.63] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Cannot redeclare class minify_css_compressor in mmo-game.eu/httpdocs/wp-content/plugins/w3-total-cache/lib/Minify/Minify/CSS.php on line 52, referer: http://www.myrddin.de/
       [Sun Sep 18 16:49:33 2011] [error] [client 189.15.46.63] PHP Fatal error:  require() [<a href='function.require'>function.require</a>]: Cannot redeclare class minify_css_compressor in mmo-game.eu/httpdocs/wp-content/plugins/w3-total-cache/lib/Minify/Minify/CSS.php on line 52, referer: http://www.myrddin.de/
       ```
   
 * Any idea how to solve this?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * (@myrddinde)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-errors-when-activating-apc/#post-2303391)
 * This appeared to be an issue with options in APC.ini
 * apc.include_once_override = 1
 * was causing issues!

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: W3 Total Cache] Errors when activating APC’ is closed to new
replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [MyrddinDE](https://wordpress.org/support/users/myrddinde/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-w3-total-cache-errors-when-activating-apc/#post-2303391)
 * Status: resolved