How to log and fix slow PHP requests


by Danila Vershinin, June 5, 2020

How to troubleshot slow PHP requests using PHP-FPM slow log facility. Common reasons for a slow PHP request and ways to fix it

Read More...

NGINX: try_files is evil too


by Danila Vershinin, February 18, 2020

The if directive in NGINX is evil. How about try_files?

Read More...

Mailpoet Cron


by Danila Vershinin, May 7, 2018

Fix that crazy Mailpoet plugin to use *real* Linux cron jobs and not their custom cron solution

Read More...

PHP Security: disable error_reporting() NOW


by Danila Vershinin, April 9, 2018

Disable php error_reporting() function to secure your server from malware and bad coders pushing junk to it.

Read More...

CDN for WordPress


by Danila Vershinin, October 5, 2017

CDN for Wordpress. Do you need one? Yes, you do!

Read More...

WordPress Static Files Cookieless Domain with Nginx


by Danila Vershinin, October 3, 2017

Configure cookieless domain for Wordpress static files in nginx

Read More...

PHP and HTTP caching


by Danila Vershinin, September 16, 2017

I figure there isn’t much all-in-one information on the subject and this will be a constant draft with my findings. PHP 7 and caching headers PHP itself alters Cache-Control headers only when all conditions are true at the same time during request: session_start() has been called session.cache_limiter has default value of nocache It adds 3 […]

Read More...

How to Reset WordPress Password


by Danila Vershinin, August 8, 2017

How to reset Wordpress password easily. Use either SQL queries in Phpmyadmin or MySQL terminal. Or use the excellent WP-CLI command line utility

Read More...

Change WordPress Site URL


by Danila Vershinin, April 10, 2017

Change the Wordpress site URL using WP-CLI and command-line tools. Make it simple.

Read More...

Optimize slow MySQL queries


by Danila Vershinin, March 15, 2017

Let’s optimise slow MySQL queries on Citrus (or other Percona MySQL) powered servers.

Read More...