Skip to content

Commit 56b2245

Browse files
committed
Updated opcache settings
Fixes webdevops/TYPO3-docker-boilerplate#67
1 parent 3810c48 commit 56b2245

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

docker/main/centos/conf/php.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ mysqli.default_host = mysql
2222

2323
; Zend OPCache
2424
opcache.enable = 1
25-
opcache.memory_consumption = 128
26-
opcache.interned_strings_buffer = 8
27-
opcache.max_accelerated_files = 4000
25+
opcache.memory_consumption = 256
26+
opcache.interned_strings_buffer = 16
27+
opcache.max_accelerated_files = 10000
2828
opcache.fast_shutdown = 1
2929
opcache.enable_cli = 1
30+
opcache.revalidate_freq = 0
3031

3132
; XDebug
3233
xdebug.remote_enable = 1

docker/main/ubuntu/conf/php.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ mysqli.default_host = mysql
2222

2323
; Zend OPCache
2424
opcache.enable = 1
25-
opcache.memory_consumption = 128
26-
opcache.interned_strings_buffer = 8
27-
opcache.max_accelerated_files = 4000
25+
opcache.memory_consumption = 256
26+
opcache.interned_strings_buffer = 16
27+
opcache.max_accelerated_files = 10000
2828
opcache.fast_shutdown = 1
2929
opcache.enable_cli = 1
30+
opcache.revalidate_freq = 0
3031

3132
; XDebug
3233
xdebug.remote_enable = 1

0 commit comments

Comments
 (0)