Since 5.1 query logging can be enabled at runtime.
Login to your MySQL server
mysql -uroot -p
See current setup
class { 'xdebug': | |
service => 'apache', | |
} | |
puphpet::ini { 'xdebug': | |
value => [ | |
'xdebug.default_enable=1', | |
'xdebug.idekey="PHPSTORM"', | |
'xdebug.remote_enable=1', | |
'xdebug.profiler_output_dir=/var/www/xdebug-profiler', | |
'xdebug.profiler_enable_trigger=1', |
sudo service ntp stop | |
sudo ntpdate -s time.nist.gov | |
sudo service ntp start |
# Enable gzip | |
<IfModule mod_deflate.c> | |
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript | |
</IfModule> | |
# Force caching | |
<IfModule mod_expires.c> | |
ExpiresActive on | |
ExpiresDefault "access plus 1 month" |
# Delete all Docker containers | |
# Must be run first because images are attached to containers | |
docker rm -f $(docker ps -a -q) | |
# Delete all Docker images | |
docker rmi -f $(docker images -q) |