If you want an all-purpose local development stack where you can choose from different PHP, MySQL and Web server versions and are also not afraid of using Docker, you could go for the **[devilbox](https://github.com/cytopia/devilbox)**.

> The devilbox is a modern and highly customisable dockerized PHP stack supporting full LAMP and MEAN and running on all major platforms. The main goal is to easily switch and combine any version required for local development. It supports an unlimited number of projects for which vhosts and DNS records are created automatically. Email catch-all and popular development tools will be at your service as well. Configuration is not necessary, as everything is pre-setup with mass virtual hosting.

The is also an article **[how to setup wordpress on the devilbox](https://github.com/cytopia/devilbox/blob/master/docs/Examples.md#27-setup-wordpress)**.

Getting it up and running is pretty straight-forward:

    # Get the devilbox
    $ git clone https://github.com/cytopia/devilbox
    $ cd devilbox

    # Create docker-compose environment file
    $ cp env-example .env

    # Edit your configuration
    $ vim .env

    # Start all containers
    $ docker-compose up


[![devilbox](https://raw.githubusercontent.com/cytopia/devilbox/master/docs/img/devilbox-dash-full.png)](https://github.com/cytopia/devilbox)

**Links:**

 * Github: https://github.com/cytopia/devilbox
 * Website: http://devilbox.org