-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphp.ini
More file actions
25 lines (21 loc) · 985 Bytes
/
php.ini
File metadata and controls
25 lines (21 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
; Error reporting
error_reporting = ${PHP_ERROR_REPORTING:-E_ALL}
display_errors = ${PHP_DISPLAY_ERRORS:-Off}
display_startup_errors = ${PHP_DISPLAY_ERRORS:-Off}
html_errors = Off
max_execution_time = ${PHP_MAX_EXECUTION_TIME:-300}
memory_limit = ${PHP_MEMORY_LIMIT:-2G}
upload_max_filesize = ${PHP_UPLOAD_MAX_FILESIZE:-128M}
post_max_size = ${PHP_POST_MAX_SIZE:-${PHP_UPLOAD_MAX_FILESIZE:-128M}}
variables_order = EGPCS
[opcache]
opcache.enable = ${PHP_OPCACHE_ENABLE:-1}
opcache.enable_cli = ${PHP_OPCACHE_ENABLE_CLI:-${PHP_OPCACHE_ENABLE:-1}}
opcache.revalidate_freq = 0
opcache.validate_timestamps = ${PHP_OPCACHE_VALIDATE_TIMESTAMPS:-0}
opcache.max_accelerated_files = ${PHP_OPCACHE_MAX_ACCELERATED_FILES:-10000}
opcache.memory_consumption = ${PHP_OPCACHE_MEMORY_CONSUMPTION:-192}
opcache.max_wasted_percentage = ${PHP_OPCACHE_MAX_WASTED_PERCENTAGE:-10}
opcache.interned_strings_buffer = 16
; This prevents timeout issues when connecting to redis.
default_socket_timeout = -1