2022-6-11 06:14:27,564 INFO exited: x11vnc (exit status 127; not expected)
2022-6-11 06:14:28,568 INFO gave up: x11vnc entered FATAL state, too many start retries too quickly
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1
; Determines if Zend OPCache is enabled for the CLI version of PHP
opcache.enable_cli=1
; The OPcache shared memory storage size.
opcache.memory_consumption=128
; The amount of memory for interned strings in Mbytes.
opcache.interned_strings_buffer=8
; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 1000000 are allowed.
opcache.max_accelerated_files=10000
在许多的教程文章中,都只是说到按官方要求,设置好config.php文件,使用内存缓存,而实际上Nextcloud的性能主要是由PHP的表现和mqsql数据库的表现所决定的,这个配置就决定了PHP的性能表现,比如:opcache.enable=1 就是“Determines if Zend OPCache is enabled”,只有启用该配置,才能真正使用opcache缓存。