WordPress development using Docker – how to share directories? [closed]

I wrote up a short tutorial in this other answer which goes into a little more detail, but I think you want to use docker-compose to define any directories (volumes) that you want to share between your local environment and the container environment. There may be a way to do this directly with Docker, but … Read more

WordPress Multisite with VVV

You need the VVV Custom site template to enable multisite. And you have to let the main Vagrant instance load it automatically. Open the vvv-config.yml in the main directory, under sites: add the following entry: msvagrant: repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template hosts: – msvagrant.dev – en.msvagrant.dev – de.msvagrant.dev custom: wp_type: subdomain Then run vagrant up, and it should … Read more

NGinx + WordPress Subdomain Multi with core in Subdirectory

I use a very similar Nginx server set up and the following works great for me, however, I prefer to take a different route and split the server blocks configuration for “Non Secure – http” and “Secure – https” individually. Also as per your sub directory structure, you’d want to take a look at this … Read more

Vagrant script to setup all the common PHP / WordPress version combinations

On the WordPress side of things, Basic WordPress Vagrant Environment is ready to work with any WordPress version (with a little help). You would still need to find a way to configure the PHP but there is a hint in https://github.com/ideasonpurpose/basic-wordpress-box/blob/master/ansible/roles/php/tasks/php.yml. To use it out of the box; Download or clone the project to wplatest-php55.dev/ … Read more

Psql could not connect to server: No such file or directory, 5432 error?

I’ve had this same issue, related to the configuration of my pg_hba.conf file (located in /etc/postgresql/9.6/main). Please note that 9.6 is the postgresql version I am using. The error itself is related to a misconfiguration of postgresql, which causes the server to crash before it starts. I would suggest following these instructions: Certify that postgresql service … Read more