diff --git a/.docker/php/conf.d/local.ini b/.docker/php/conf.d/local.ini index 12d22cc68..77b6daf00 100644 --- a/.docker/php/conf.d/local.ini +++ b/.docker/php/conf.d/local.ini @@ -2,7 +2,7 @@ expose_php = Off error_reporting = E_ALL display_errors = Off log_errors = On -error_log = syslog +error_log = /dev/stderr date.timezone = UTC allow_url_fopen = On post_max_size = 30M diff --git a/.docker/php/php-fpm.conf b/.docker/php/php-fpm.conf index 0e5eab212..6a9c64594 100644 --- a/.docker/php/php-fpm.conf +++ b/.docker/php/php-fpm.conf @@ -5,6 +5,10 @@ daemonize = no [www] env[DATABASE_URL] = $DATABASE_URL +env[DEBUG] = $DEBUG +env[DEBUG_FILE] = $DEBUG_FILE + +catch_workers_output = yes user = nginx group = nginx listen.owner = nginx diff --git a/app/constants.php b/app/constants.php index 011fa784a..4201e6e4c 100644 --- a/app/constants.php +++ b/app/constants.php @@ -1,8 +1,8 @@