File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 1- FROM php:7.0.10 -fpm
1+ FROM php:7.1 -fpm
22
33COPY config/custom.ini /usr/local/etc/php/conf.d/
44
Original file line number Diff line number Diff line change 22
33date.timezone = " UTC"
44
5+ ; Error reporting optimized for production (http://www.phptherightway.com/#error_reporting)
6+
7+ display_errors = Off
8+ display_startup_errors = Off
9+ error_reporting = E_ALL
10+ log_errors = On
11+ error_log = /var/log/php-app/error.log
12+
513; Opcache settings (best on https://www.scalingphpbook.com/best-zend-opcache-settings-tuning-config/)
614
715opcache.revalidate_freq = 0
816opcache.max_accelerated_files = 7963
917opcache.memory_consumption = 96
1018opcache.interned_strings_buffer = 16
11- opcache.fast_shutdown = 1
19+ opcache.fast_shutdown = 1
You can’t perform that action at this time.
0 commit comments