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:
Tobias Knöppler 2023-01-18 22:58:28 +01:00
parent f052be33f1
commit a8485508d4
No known key found for this signature in database
GPG Key ID: 3510056072886A8F
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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