Skip to content

Commit b7f6760

Browse files
committed
opcache.sh.ini: Clean-up OPcache configurations
Signed-off-by: Melvyn Ng <[email protected]>
1 parent a17d684 commit b7f6760

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

etc/ncp-templates/php/opcache.ini.sh

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ fi
1616

1717
cat <<EOF
1818
zend_extension=opcache.so
19-
opcache.enable=1
20-
opcache.enable_cli=1
21-
opcache.fast_shutdown=1
22-
opcache.interned_strings_buffer=8
23-
opcache.max_accelerated_files=10000
24-
opcache.memory_consumption=128
25-
opcache.save_comments=1
26-
opcache.revalidate_freq=1
19+
opcache.interned_strings_buffer=16
20+
opcache.revalidate_freq=60
2721
opcache.file_cache=${TMP_DIR};
2822
EOF

0 commit comments

Comments
 (0)