- Apache
- PHP 5.5
- MySQL
- Varnish 4
- SSH
- libssh2-php or FTP
- Used by wordpress for updating.
- libssh2 allows us to use SSH for updates
- But FTP can be used instead.
We generally prefer to set up a git remote for deployment. If you could provide us with SSH access we can configure this, or if you prefer to do this on our behalf that's great. We like to deploy using this folder structure:
gulp/
...
public/ <--- This is the public / root of the domain name.
...
src/
...
# Drop any cookies sent to Wordpress.
sub vcl_recv {
if (!(req.url ~ "(preview=true|wp-login|wp-admin)")) {
unset req.http.cookie;
}
}
# Drop any cookies Wordpress tries to send back to the client.
sub vcl_backend_response {
if (!(bereq.url ~ "(preview=true|wp-login|wp-admin)")) {
unset beresp.http.set-cookie;
}
}