2017-05-22 21:16:16 +02:00
|
|
|
To speed up nextcloud you should enable PHP OPcache
|
|
|
|
|
|
|
|
The OPcache improves the performance of PHP applications by caching precompiled bytecode. We recommend at least following settings:
|
|
|
|
|
2023-04-21 12:23:51 +02:00
|
|
|
Put this in this insert in /etc/php8/apache2/php.ini
|
2017-05-22 21:16:16 +02:00
|
|
|
|
|
|
|
opcache.enable=On
|
|
|
|
opcache.enable_cli=1
|
2022-01-28 13:28:21 +01:00
|
|
|
opcache.interned_strings_buffer=16
|
2017-05-22 21:16:16 +02:00
|
|
|
opcache.max_accelerated_files=10000
|
|
|
|
opcache.memory_consumption=128
|
|
|
|
opcache.save_comments=1
|
|
|
|
opcache.revalidate_freq=1
|
|
|
|
|
2023-04-21 12:23:51 +02:00
|
|
|
Also you should set the memory_limit to somthing like >=512MB in
|
|
|
|
/etc/php8/apache2/php.ini and /etc/php8/cli/php.ini
|