Anyone going to make an Ubuntu WordPress 14.04 base image for LEMP?

April 6, 2016 988 views
LEMP WordPress Ubuntu

I have followed the tutorials to install WordPress on LEMP, but I end up getting the "error establishing a database connection" message every time. Even when using the wp installation script by DO on Github.
I just can't seem to find a working solution, and I believe it must be something to do with the Nginx configurations.
Using the Ubuntu WordPress 14.04 (LAMP) image installs wp with no problems.
But given that Nginx is much more preferred to Apache, why haven't you guys at DO built up a LEMP WordPress base image that works?
It's so much easier setting up sites with base images.

1 Answer
by Justin Ellingwood
A LEMP stack (Linux, Nginx, MySQL, and PHP) is a powerful set of software that can be configured to serve dynamic sites and web apps from your server. In this guide, we will discuss how to install a LEMP stack on an Ubuntu 14.04 server.
  • I did follow these tutorials but kept getting database errors. Is it just me?

Have another answer? Share your knowledge.