Revert "opcache.ini.sh: Add workaround for segfault when using PHP"

This reverts commit 546fd0d46d6295478e346cbda985cfb454e44469.
This commit is contained in:
thecalcaholic 2022-09-22 15:13:19 +02:00
parent fc9b7d9b50
commit 04bb842504
No known key found for this signature in database
GPG Key ID: 3510056072886A8F

View File

@ -13,13 +13,10 @@ then
else
TMP_DIR="$(source "${BINDIR}/CONFIG/nc-datadir.sh"; tmpl_opcache_dir)"
fi
# Workaround for https://github.com/php/php-src/issues/7817
ENABLE_OPCACHE="1"
[[ "$PHPVER" != '8.1' ]] || ENABLE_OPCACHE='0'
cat <<EOF
zend_extension=opcache.so
opcache.enable=${ENABLE_OPCACHE}
opcache.enable=1
opcache.enable_cli=1
opcache.fast_shutdown=1
opcache.interned_strings_buffer=8