Skip to content

Commit 8cfcb8f

Browse files
authored
MCLOUD-2649: [opcache] Disable timestamps validation (#489)
1 parent d0a4150 commit 8cfcb8f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

op-exclude.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/app/*/app/etc/config.php
2+
/app/*/etc/env.php
3+
/app/etc/config.php
4+
/app/etc/env.php

php.ini

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ max_input_vars = 10000
3939
; Setup the session garbage collector
4040
;
4141
session.gc_probability = 1
42+
43+
;
44+
; Setup opcache configuration
45+
;
46+
opcache.validate_timestamps = 0
47+
opcache.blacklist_filename="${MAGENTO_CLOUD_APP_DIR}/op-exclude.txt"

0 commit comments

Comments
 (0)