Skip to content

Commit 9d4bb16

Browse files
committed
disable opcache for php-fpm
1 parent c175ed1 commit 9d4bb16

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

config/php/cli.ini

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,5 @@ xhprof.output_dir = /tmp
1818
extension=mongodb.so
1919

2020
[opcache]
21-
opcache.enable=1
22-
opcache.enable_cli=1
23-
opcache.memory_consumption=256
24-
opcache.interned_strings_buffer=16
25-
opcache.max_accelerated_files=20000
26-
opcache.max_wasted_percentage=5
27-
opcache.revalidate_freq = 0
28-
opcache.fast_shutdown = 1
29-
opcache.enable_file_override=1
21+
opcache.enable=0
22+
opcache.enable_cli=0

config/php/fpm.ini

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,8 @@ session.use_cookies = 1
2222
session.name = PHPSESSID
2323

2424
[opcache]
25-
opcache.enable=1
26-
opcache.enable_cli=1
27-
opcache.memory_consumption=256
28-
opcache.interned_strings_buffer=16
29-
opcache.max_accelerated_files=20000
30-
opcache.max_wasted_percentage=5
31-
opcache.revalidate_freq = 0
32-
opcache.fast_shutdown = 1
33-
opcache.enable_file_override=1
25+
opcache.enable=0
26+
opcache.enable_cli=0
3427

3528
[APC]
3629
apc.enable_cli = "On"

0 commit comments

Comments
 (0)