-
Notifications
You must be signed in to change notification settings - Fork 4
/
php-ini-overrides.ini
executable file
·47 lines (34 loc) · 1.37 KB
/
php-ini-overrides.ini
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
date.timezone = ${TIMEZONE}
memory_limit = 512M;
; do not allow <?
short_open_tag = Off
; suppress displaying of all errors in production
display_errors = Off
display_startup_errors = Off
error_reporting = E_ALL
log_errors = true
; disable sending PHP version in response headers (X-Powered-By) for security reasons
expose_php = Off
; size-up realpath cache (otherwise Symfony can be slow)
realpath_cache_size = 4096K
realpath_cache_ttl = 600
; enable OpCache (otherwise Symfony will be slow)
opcache.enable=1
; faster mechanism for calling the deconstructors in your code at the end of a single request
opcache.fast_shutdown = true
; The amount of memory used to store interned strings, in megabytes
opcache.interned_strings_buffer = 24
; Optimizations for Symfony, as documented on http://symfony.com/doc/current/performance.html
opcache.max_accelerated_files = 60000
; The size of the shared memory storage used by OPcache, in megabytes
opcache.memory_consumption = 256
; always resolve symlinks
opcache.revalidate_path=1
; how often to check script timestamps for updates. 0 will result in opcache checking
; for updates on every request. Recommended value for production is 300
opcache.revalidate_freq = 0
; use absolute paths, so that there are not collision for files with same names
opcache.use_cwd=1
; nescessary for file uploads
upload_max_filesize = 32M
post_max_size = 32M