Skip to content

Commit 1465c46

Browse files
committed
PARKW-51 - Use recommended settings from Magento docs
1 parent 84a745c commit 1465c46

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎fs/php-nginx/etc/php/conf.d/00_opcache.ini‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ opcache.file_cache_fallback = 1
1010
opcache.jit = tracing
1111
opcache.jit_buffer_size = 512M
1212

13-
opcache.max_accelerated_files = 10000
14-
opcache.memory_consumption = 192
13+
opcache.max_accelerated_files = 60000
14+
opcache.memory_consumption = 512
15+
opcache.consistency_checks=0
16+
opcache.validate_timestamps=0
1517
opcache.max_wasted_percentage = 10
1618
opcache.interned_strings_buffer = 16
1719
opcache.fast_shutdown = 1

‎fs/php-nginx/etc/php/php.ini‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,6 @@ session.trans_sid_tags = "a=href,area=href,frame=src,form="
5353
#session.sid_bits_per_character = 5
5454
[Assertion]
5555
zend.assertions = -1
56+
57+
realpath_cache_size=10M
58+
realpath_cache_ttl=7200

0 commit comments

Comments
 (0)