Skip to content

Instantly share code, notes, and snippets.

View rikh42's full-sized avatar

Rik Heywood rikh42

View GitHub Profile
@rikh42
rikh42 / gist:efad95142b1be3429a94
Last active March 23, 2019 18:42
Laravel Homestead XDebug Nginx and Composer config changes

Laravel Homestead XDebug Nginx and Composer config changes

/etc/nginx/fastcgi_params

Update nginx config to support a longer timeout to prevent it dropping the connection when trying to debug in PHP Storm

fastcgi_read_timeout 600; # Set fairly high for debugging
/*
Database gets in connection settings from the config file
eg. app/resources/config/config.yml
database:
read:
host: localhost
port: 3306
user: root
password: secret-shhh