Support » Plugin: WP-FFPC » Using APCU but advanced-cache.php wont become active

  • Resolved bnaimy

    (@bnaimy)


    Installed the plugin and added define(‘WP_CACHE’,true); inside the wp-config.php file. Right below the define(‘DB_COLLATE’, ”);

    Activated the plugin, selected APCU as my backend, and saved.

    Problem i have is that in WordPress plugin page, there is tab called “Drop-Ins” and there is a file called “advanced-cache.php” that is inactive that is related to WP-FFPC.

    Why is it inactive, and how can i make it active ?

    My server php settings can be found here, i am also using WP Version 4.0.1 :

    http://www.activetechnique.com/?phpinfo=1

    As extra info, in my php.ini file i have added these lines while i was configuring APCU, not sure this is causing any issues

    [apc]
    ; default memory allocation = 1024M
    apc.shm_size = “1024M”
    ; for dev check for changed code every time so set to “1”. “0” for LIVE site.
    apc.stat = “0”

    Thank you for your help

    https://wordpress.org/plugins/wp-ffpc/

Viewing 5 replies - 1 through 5 (of 5 total)
  • This is the content of the advanced-cache.php file incase this help resolve this issue :

    <?php
    $wp_ffpc_config = array (
    ‘www.forexjunkie.com’ =>
    array (
    ‘hosts’ => ‘127.0.0.1:11211’,
    ‘authpass’ => ”,
    ‘authuser’ => ”,
    ‘expire’ => ‘300’,
    ‘invalidation_method’ => 0,
    ‘prefix_meta’ => ‘meta-‘,
    ‘prefix_data’ => ‘data-‘,
    ‘charset’ => ‘utf-8’,
    ‘log’ => ‘1’,
    ‘cache_type’ => ‘apcu’,
    ‘cache_loggedin’ => 0,
    ‘nocache_home’ => 0,
    ‘nocache_feed’ => 0,
    ‘nocache_archive’ => 0,
    ‘nocache_single’ => 0,
    ‘nocache_page’ => 0,
    ‘nocache_cookies’ => 0,
    ‘nocache_dyn’ => ‘1’,
    ‘nocache_url’ => ”,
    ‘persistent’ => 0,
    ‘response_header’ => 0,
    ‘generate_time’ => 0,
    ‘precache_schedule’ => ‘null’,
    ‘key’ => ‘$scheme://$host$request_uri’,
    ‘comments_invalidate’ => ‘1’,
    ‘version’ => ‘1.6.0’,
    ),
    );
    include_once (‘C:\wamp\www\forexjunkie\wp-content\plugins\wp-ffpc/wp-ffpc-acache.php’);
    ?>

    Plugin Author petermolnar

    (@cadeyrn)

    hi,

    Do you have the apcu php extension installed?

    Plugin Author petermolnar

    (@cadeyrn)

    Yes the APCU is installed and working just fine

    The issue is now resolved, the problem was that the define(‘WP_CACHE’,true); had to placed in a very spesific area.

    Before any database definitions, thats all

    Thanks again for taking the time to response, the plugin
    Works like a charm 🙂

    No need to use anything else when you activate
    WP-FFPC With APCU and opcache 🙂

    Plugin Author petermolnar

    (@cadeyrn)

    Thank you for the feedback; that information is important.
    I’ll add a note to the installation tab about the location of WP_CACHE.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Using APCU but advanced-cache.php wont become active’ is closed to new replies.