Open terryzwt opened 2 years ago
BTW, is it possible to set the display_errors default value to false?
@tiredofit could you please provide some statement about this feature ?
Looks like the code is by default deleting the line - PHP by default must be showing the errors. Rather than deleting we can easily shift to false to turn it off.
Let me do that.
OK 7.0.11
resolves this.
When the PHP_DISPLAY_ERRORS=FALSE, the php error message still display.
https://github.com/tiredofit/docker-nginx-php-fpm/blob/master/install/assets/php-fpm/fpm/php-fpm.conf#L32 the
display_errors
is alwayson
https://github.com/tiredofit/docker-nginx-php-fpm/blob/master/install/assets/functions/20-php-fpm#L228 This code will trigger only when
PHP_DISPLAY_ERRORS
isTRUE
So when
PHP_DISPLAY_ERRORS
isFALSE
, nothing change.