mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
Revert "opcache.ini.sh: Add workaround for segfault when using PHP"
This reverts commit 546fd0d46d6295478e346cbda985cfb454e44469.
This commit is contained in:
parent
fc9b7d9b50
commit
04bb842504
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user