corenominal

Full stack web developer, interested in all the things, but especially the web, code, design, Linux, OS X, PHP, WordPress, JavaScript & robots.

Tagged: lts

Testing WordPress with the next Ubuntu LTS, Xenial Xerus

I spent this afternoon testing the next Ubuntu LTS release, Xenial Xerus. It’s not due to be released until April time, but there are some significant changes (PHP 7 and HTTP/2 under nginx) from the previous LTS release (14.04 Trusty Tahr) and I want to be prepared for the upgrade.

Installing Ubuntu Xenial Xerus in a virtual machine

Installing Ubuntu Xenial Xerus in a virtual machine.

I downloaded and installed the latest daily server build in a virtual machine. The installation was painless and I experienced no issues. Great. Next, I set-up a working environment for WordPress. This was actually rather simple and involved installing the following packages:

nginx php7.0 php7.0-fpm php7.0-mysql mysql-server

I then created a copy of this site and moved it onto the VM. The only thing I had to change in my site’s nginx conf file was the path to the new PHP 7 unix domain socket, other than that, everything just worked.

Next job, enable HTTP/2. Now, this should have been as simple as adding “http2” on the listen stanza within the nginx conf file, but unfortunately, the Ubuntu Security team have issued a mandate to disable HTTP/2 for the nginx package. Grr.

I’m hoping that this is just a temporary thing and according to this Answers page, it should be enabled in the future.

Will HTTP/2 be enabled in Xenial at some point? Almost certain of it.

So anyway, I opted to remove the Ubuntu package and install the package provided by the nginx team, which is compiled with HTTP/2 support. Note, there isn’t a Xenial repo yet, so I installed the Wily version — I’m just playing with a test environment, I wouldn’t do this on a production machine. Anyhow, this fixed the issue and HTTP/2 started working. Cool beans.

And that’s where I have left it, for the moment. When I get time, I think I’ll set-up another virtual machine running Trusty Tahr and attempt to run some benchmarks and comparisons. If what I have read is true, I’m expecting that Xenial Xerus will show significant performance increases over Trusty Tahr.

Matt Mullenweg Addresses Concerns That WordPress is Moving Too Fast image/svg+xml

There are at least three major releases of WordPress per year where users can expect new features and major bug fixes about every four months. While this is great for users, some companies, plugin, and theme developers are struggling to keep up.

According to the article, WordPress development is going to move even faster in the future. I don’t have a problem with that, but it seems that many others do. I wonder if Automattic or the WordPress Core Team have toyed with the idea of having a Long Term Support (LTS) version of WordPress? It works well for Canonical and Ubuntu. Now, try to imagine a perfect world where the WordPress and Ubuntu LTS versions had the same release dates and the same life spans.