WordPress with php 5.5 and zend opcache

Opcache is transparent for WordPress (as it is to any PHP application). However if you had been using APC for object cache (key/value store) via plugin — that function is not available in new bundled Zend cache, it only does opcode caching. You would need to replace object cache with something different (APCu/Memcache/Redis/etc).

w3 total cache keeps minifying my feeds

To stop W3 Total Cache from minifying the feeds you need to go to: In the menu: Performance > Minify Meta Box: HTML & XML > HTML minify settings: Check the box for: Don’t minify feeds One of the issues with feed minifying is that it adds CDATA wrapper around javascript in the content and … Read more

How to prevent those PHP variables from being cached on WordPress?

Page caching generates a static HTML version of the page so IP geolocation occurs on the first rendering and is not triggered on subsequent renderings – your use case is not compatible with W3 Total Cache’s page caching. It’s possible to accomplish what you are trying to accomplish with page caching, however, you would need … Read more

Can I flush W3TC’s cache in a capistrano deploy? [closed]

As @andreascreten, wp-cli will do the job for you. wp-cli includes commands for W3TC (located in the src/php/wp-cli/commands/community/total-cache.php file), so you can flush the cache by running: $ wp total-cache flush <type> Where <type> is one of ‘db’, ‘minify’, ‘object’, ‘page’ or ‘post’. (Note: If you use ‘post’, you’ll need to pass in –post_id= or … Read more

How to hide W3 Total Cache from non admins?

You can try to use remove_menu_page(), so you code example would be like: function hide_w3tc() { if (!current_user_can(‘manage_network’)) { remove_menu_page(‘w3tc_dashboard’); } } add_action( ‘admin_menu’, ‘hide_w3tc’,11); where we use a priority greater than the default of 10, since the W3TC menu page is added via add_menu_page(‘Performance’, ‘Performance’, ‘manage_options’, ‘w3tc_dashboard’, ”, ‘div’);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)