PHP

RunCache & WP Rocket Bridge

7th March 2020

I always think Runcloud is amazing, and with their own priority RunCache Purger plugin so that NGINX caches pages (which means it doesn’t need to pass through PHP – yay!), it’s an awesome tool however, WP Rocket is incompatible and vice-versa. I ❤️ WP Rocket, so I decided to create a mini WordPress plugin which bridges the gap!

RunCache Speed Example

The above image is a speed example of this blog post after being cached into NGINX and doing a hard refresh (CTRL + F5). 41ms response time! 😍

(more…)

Roundcube Easy Unsubscribe Plugin

2nd October 2018

Almost a year ago I created a little Roundcube plugin to easily unsubscribe from emails. A little like the modern way email applications do it today. Well, I thought I would write a small post about it because I’m sure you will find it useful.

unsubscribe example

(more…)

Install PHP 7.2 on CentOS 7 with VestaCP (How to)

16th March 2018

I’ve published one before on the VestaCP Forums regarding how to install PHP 7.0 on Centos 7 with VestaCP. This tutorial is now for PHP 7.2 which has increased performance over PHP 7.0 and 7.1. If you have a handful of WordPress websites on PHP 5, you should upgrade. If you’re on PHP 7.0 from my previous tutorials, or are using my Server Installer Script then this will also work for you. I would advise upgrading when you have time.

(more…)

Multiple IMAP Accounts plugin for Roundcube

26th January 2018

Roundcube logoAfter some relentless searching I found a great plugin that supports multiple IMAP accounts for Roundcube tucked away on BitBucket. It’s a great tool that simply adds a drop down of the IMAP accounts you’ve set-up  to the top right area of Roundcube, replacing your email address in that area.

(more…)

Search Multidimensional Array in PHP

6th April 2017

If you’re using PHP 5.1 or newer, this little function is for you! It’ll search multidimensional array’s and return the top level key so you can pull the data.

(more…)

VestaCP Tools Plugin

8th October 2016

I have created a little plugin for VestaCP called the VestaCP Tools Plugin (obviously unofficial as they don’t have any official way to create plugins yet). It’s a super simple way to get an overview of what’s going on inside your VestaCP server. It basically lists all the domain names, mail domains, cron jobs, etc globally so you don’t have to login to each individual user to get the data.

vestacptoolsplugin (more…)

VestaCP Server Installer – The Perfect Server

5th October 2016

NOW WORKS WITH THE NEW VERSION 0.9.8-20! 🙂

Please upgrade to VestaCP release 20. A security flaw currently affecting servers is present in release < 20. If upgrade is not yet available, please patch

I decided to create the perfect VestaCP server installer script (in my opinion) for CentOS 7 (I have only tried it on CentOS 7). Basically, you run it, it asks a few questions and then it sets up a perfect server including CSF, Monit and PHP 7 (if you want it). Amazing, right?

(more…)