Skip to content

Commit 6fffeab

Browse files
authored
opcache.sh.ini: Clean-up OPcache configurations
Signed-off-by: Melvyn Ng <deejaycrapsody@gmail.com>
1 parent 9975742 commit 6fffeab

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

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)