Browse Source

update opcache settings

pull/25/head
VirtuBox 1 year ago
parent
commit
a499ae8475
5 changed files with 17 additions and 15 deletions
  1. +9
    -7
      etc/php/7.0/fpm/php.ini
  2. +2
    -2
      etc/php/7.1/fpm/php.ini
  3. +2
    -2
      etc/php/7.2/cli/php.ini
  4. +2
    -2
      etc/php/7.2/fpm/php.ini
  5. +2
    -2
      etc/php/7.3/cli/php.ini

+ 9
- 7
etc/php/7.0/fpm/php.ini View File

@@ -5,10 +5,10 @@ precision = 14
output_buffering = 8096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
unserialize_callback_func =
serialize_precision = 17
disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
disable_classes =
disable_classes =
zend.enable_gc = On
expose_php = Off
max_execution_time = 300
@@ -30,12 +30,12 @@ request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 128M
auto_prepend_file =
auto_append_file =
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
doc_root =
user_dir =
doc_root =
user_dir =
enable_dl = Off
file_uploads = On
upload_max_filesize = 128M
@@ -183,7 +183,9 @@ opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=256
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.revalidate_freq=60
opcache.validate_timestamps=1
opcache.consistency_checks=0


[curl]


+ 2
- 2
etc/php/7.1/fpm/php.ini View File

@@ -199,9 +199,9 @@ opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=256
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.revalidate_freq=60
opcache.validate_timestamps=1
opcache.consistency_checks=0
opcache.validate_timestamps=0

[curl]



+ 2
- 2
etc/php/7.2/cli/php.ini View File

@@ -177,9 +177,9 @@ opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=256
opcache.save_comments=1
opcache.revalidate_freq=1
opcache.revalidate_freq=60
opcache.validate_timestamps=1
opcache.consistency_checks=0
opcache.validate_timestamps=0

[curl]



+ 2
- 2
etc/php/7.2/fpm/php.ini View File

@@ -178,8 +178,8 @@ opcache.max_accelerated_files=10000
opcache.max_wasted_percentage=10
opcache.memory_consumption=256
opcache.save_comments=1
opcache.revalidate_freq=0
opcache.validate_timestamps=0
opcache.revalidate_freq=60
opcache.validate_timestamps=1
opcache.consistency_checks=0




+ 2
- 2
etc/php/7.3/cli/php.ini View File

@@ -175,8 +175,8 @@ opcache.max_accelerated_files=10000
opcache.max_wasted_percentage=10
opcache.memory_consumption=256
opcache.save_comments=1
opcache.revalidate_freq=0
opcache.validate_timestamps=0
opcache.revalidate_freq=60
opcache.validate_timestamps=1
opcache.consistency_checks=0




Loading…
Cancel
Save