Skip to content

Commit 01e8cd1

Browse files
authored
Merge pull request #8 from maestrooo/develop
Upgrade to PHP 7.1 stable
2 parents 929feac + 5032506 commit 01e8cd1

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.0.10-fpm
1+
FROM php:7.1-fpm
22

33
COPY config/custom.ini /usr/local/etc/php/conf.d/
44

config/custom.ini

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22

33
date.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

715
opcache.revalidate_freq = 0
816
opcache.max_accelerated_files = 7963
917
opcache.memory_consumption = 96
1018
opcache.interned_strings_buffer = 16
11-
opcache.fast_shutdown = 1
19+
opcache.fast_shutdown = 1

0 commit comments

Comments
 (0)