Cat files without comments! only relevant information from config files will be shown
- PHP ini files (linnes commented with ;):
cat php.ini | egrep -v "^\s*(;|$)"
- Apache, Nginx conf files (lines commented with #):
Cat files without comments! only relevant information from config files will be shown
cat php.ini | egrep -v "^\s*(;|$)"
From: https://github.com/mattiasgeniar/varnish-5.0-configuration-templates
You can use the configuration templates found in this repository to quickly get started with a complete Varnish configuration that offers support for most functionality. Start of by looking into "default.vcl" and taking the bits you need, copy it to your own default.vcl.
Inspired from http://blog.hio.fr/2011/09/17/doctrine2-yaml-mapping-example.html
oneToOne, oneToMany, manyToMany, etc. examples
Based on: https://gist.github.com/ralphschindler/535dc5916ccbd06f53c1b0ee5a868c93
This launchd script will ensure that your Docker environment on your Mac will have 10.254.254.254
as an alias on your loopback device (127.0.0.1). The command being run is ifconfig lo0 alias 10.254.254.254
.
Once your machine has a well known IP address, your PHP container will then be able to connect to it, specifically XDebug can connect to it at the configured xdebug.remote_host
.