mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
opcache.ini.sh: Increase interned_strings_buffer as recommended by NC
Signed-off-by: Tobias Knöppler <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
f052be33f1
commit
a8485508d4
@ -125,7 +125,9 @@ is_active_app unattended-upgrades && run_app unattended-upgrades || true
|
||||
# mark as successful
|
||||
mv "${new_cfg}" "${old_cfg}"
|
||||
install_template "php/opcache.ini.sh" "/etc/php/${php_ver_new}/mods-available/opcache.ini" --defaults
|
||||
service "php${php_ver_new}-fpm" restart
|
||||
service "php${php_ver_new}-fpm" stop
|
||||
clear_opcache
|
||||
service "php${php_ver_new}-fpm" start
|
||||
|
||||
source /usr/local/etc/library.sh # refresh NCPCFG RELEASE PHPVER
|
||||
run_app nc-limits
|
||||
|
||||
@ -26,7 +26,7 @@ zend_extension=opcache.so
|
||||
opcache.enable=1
|
||||
opcache.enable_cli=1
|
||||
opcache.fast_shutdown=1
|
||||
opcache.interned_strings_buffer=8
|
||||
opcache.interned_strings_buffer=12
|
||||
opcache.max_accelerated_files=10000
|
||||
opcache.memory_consumption=128
|
||||
opcache.save_comments=1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user