Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
Daniel Hansson 2023-08-24 09:15:54 +02:00 committed by GitHub
parent 09bd223ad3
commit fd92b6ed24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1100,9 +1100,9 @@ then
if [ "${CURRENTVERSION%%.*}" -ge "23" ]
then
# Update opcache.interned_strings_buffer
if ! grep -r opcache.interned_strings_buffer="$opcache_interned_strings_buffer_value" $PHP_INI
if ! grep -r opcache.interned_strings_buffer="$opcache_interned_strings_buffer_value" "$PHP_INI"
then
sed -i "s|opcache.interned_strings_buffer=.*|opcache.interned_strings_buffer=$opcache_interned_strings_buffer_value|g" $PHP_INI
sed -i "s|opcache.interned_strings_buffer=.*|opcache.interned_strings_buffer=$opcache_interned_strings_buffer_value|g" "$PHP_INI"
restart_webserver
fi
fi