Helpful tips and tricks by Steven Sullivan

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

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.

Multiple IMAP Accounts plugin for Roundcube

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.

Serve static content from a cookieless domain in NGINX

Very simple one to help anyone out there fix the issue. This does not require a CDN or sub domain, etc like most tutorials.

It’s simply a few lines of code to add to your host file:

location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|css|js)$ {
   expires     max;
   fastcgi_hide_header "Set-Cookie";