WordPress.org

Support

Support » Plugins and Hacks » Hacks » (De)Activate Plugins from Command-Line — Object Cache Problems

(De)Activate Plugins from Command-Line — Object Cache Problems

  • Hi everyone,

    I wrote a PHP script to activate and deactivate plugins from the command line. It appears to work fine, except WP isn’t seeing the changes. After disabling the persistent APC object cache, WP still doesn’t see the changes until I re-load the admin plugin web page. I’ve tried using the wp_cache_flush() command (and others), but nothing seems to work.

    Am I missing something obvious here? 🙂

    http://surniaulula.com/wp-content/uploads/crayon/wp-plugins.php

    Thanks,

    js.

  • The topic ‘(De)Activate Plugins from Command-Line — Object Cache Problems’ is closed to new replies.
Skip to toolbar