Skip to content

Commit a358302

Browse files
author
Michaël Perrin
committed
PHP optimizations for Symfony
As documented on http://symfony.com/doc/current/performance.html
1 parent 001bbaf commit a358302

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/php/php.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ log_errors = On
44
error_reporting = E_ALL
55
display_errors = Off
66
error_log = /proc/self/fd/2
7+
memory_limit = 256M
8+
9+
; Optimizations for Symfony, as documented on http://symfony.com/doc/current/performance.html
10+
opcache.max_accelerated_files = 20000
11+
realpath_cache_size=4096K
12+
realpath_cache_ttl=600

0 commit comments

Comments
 (0)