blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

Optimize PHP OPcache configuration

Optimize PHP OPcache configuration and make it perform even better. After realpath_cache_size, the OPcache cache mechanism is the next important step to fine-tune. With just a few tweaks you tune OPcache to perform much better

WordPress

Last updated:

My WordPress web.config

A web.config file for WordPress on Windows Server IIS. Are you having trouble with your web.config? Here is mine 🙂

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

PHP 5.6 default_charset change may break HTML output

A change in PHP’s default_charset php.ini setting causes HTML output to break if you try to set a different charset in your HTML head. It also might break functions like htmlentities() and htmlspecialchars().

WordPress

Last updated:

Disable WordPress comments (how-to)

With thousands spam reactions, disabling (and removing) WordPress comments is often the only way to go. Here is how to disable WordPress comments in both the WordPress Dashboard interface and in your MySQL / MariaDB database.

Web applications

Last updated:

Sysadmins of the North goes global!

How to set up a global Geolocation DNS load balancing Varnish Cache Content Delivery Network with Bind9, geo-ip database, Varnish Cache and DigtalOcean. DIY High-Availability for your website!

blue elephant plush toy on black laptop computer -- Photo by Ben Griffiths

Web applications

Last updated:

How to set a good PHP realpath_cache_size

Learn how to optimize PHP performance by checking and setting PHP realpath_cache_size. The realpath_cache_size size represents the total number of bytes in the path strings stored, plus the size of the data associated with the cache entry

Web applications

Last updated:

Exploit PHP’s mail() to get remote code execution

Exploit PHP’s mail() function for remote code execution. Apparently, if you are able to control the 5th parameter of the mail() function ($options), you have the opportunity to execute arbitrary commands.

WordPress XMLRPC API

WordPress

Last updated:

Huge increase in WordPress xmlrpc.php POST requests

How to identify, block, mitigate and leverage xmlrpc.php scans, brute-force, and user enumeration attacks on WordPress sites… Secure WordPress xmlprc.php interface and reduce service disruption.

Joomla ACL decision flowchart

Web applications

Last updated:

8 Tips to improve Joomla performance

Learn how to speed-up Joomla performance on Windows Server IIS using these 8 simple, but important, tips. Add caching, gzip compression, set your sessions & optimize MySQL database functions.

High Performance MySQL

WordPress

Last updated:

Wp_options table autoload micro-optimization

The autoload feature loads and caches all autoloaded options, if available, or all options. The default option is to autoload, and over time when the wp_options table grows, this degrades performance. Today I noticed a slow MySQL query coming from a WordPress database (WordPress wp_options table). This made me investigate and to optimize the WordPress wp_options table “autoload” feature.