How to enable Zend Optimiser+ with Batcache
Zend Optimizer+, or rather OPcache module as it is formally called included in PHP, is purely opcode cache. It doesn’t implement key-value store and cannot be used as object cache back-end in WordPress.
Zend Optimizer+, or rather OPcache module as it is formally called included in PHP, is purely opcode cache. It doesn’t implement key-value store and cannot be used as object cache back-end in WordPress.
I’ve ran into that trouble before with some of my sites when I transferred them to another server. Here’s what I did. edit your apache2.conf at /etc/apache2/ folder. Run the following command: nano /etc/apache2/apache2.conf Scroll down and look for this section with a comment: # your system is serving content from a sub-directory in /srv … Read more
You need to set the canonical hostname (ie. with www) in the WordPress dashboard… Under Settings > General and set the appropriate “WordPress Address (URL)” and “Site Address (URL)” properties. Alternatively, these values can be hardcoded in wp_config.php by defining the WP_HOME and WP_SITEURL constants respectively. Reference: https://codex.wordpress.org/Changing_The_Site_URL SSLOptions +StrictRequire SSLRequireSSL SSLRequire %{HTTP_HOST} eq “example.com” … Read more
You might be calling wp-cron.php every 15 minutes, but your cron task is set to happen every 5 minutes! $schedules[“5min”] = array( ‘interval’ => 5*60, ‘display’ => __(‘Once every 5 minutes’)); … wp_schedule_event( time(), ‘5min’, ‘isa_add_every_five_minutes’ ); Change it instead to every 15 minutes
For the WordPress side of things, to manually audit a WordPress’s sites speed on a server, to accurately identify the lagging culprit, I would 1) See if a basic php script is slow make a test.php file with <?php for ($i = 1; $i != 300; $i++) { echo “{$i}<br />”; } ?> If that … Read more
There are many reasons this error can occur. Those two were the most frequent for me: Session-Cookie Open the Javascript Console by pressing F12 and click on the tab “Console”. If you see some error message that goes something like cookie_nonce it’s a session cookie problem. The problem solves by just completely logging out and … Read more
This would seem to be a “fault” of the way WordPress (the “server”) is reading the HTTP request headers. (If they are being read into an associative array without any normalisation then the comparison will naturally be case-sensitive.) This should arguably be “fixed” in WP. However, it’s possible to create a “workaround” in .htaccess and … Read more
It depends how you want to uniquely identify users. Some options to uniquely identify people might be the: The WordPress User ID. If people are logged in then using their WP User ID is a good option. The WordPress session ID. This is unique to the session; People will get a new session after some … Read more
“RSS” stands for “resident set size,” one way to measure the amount of memory used by a process in Linux. It does not refer to RSS feeds. This probably has very little to do with WordPress, and everything to do with the amount of RAM in your box and how much memory Apache is using. … Read more
The latest and greatest php version is always the recommended version. Seriously. All core devs use it when developing trunk. Only a few bother to test older php versions, as can be seen by the occasional ticket opened related to php4 or php5.x incompatibility. The same cannot be said by plugin authors, however… As you … Read more