diff options
author | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-09-22 16:13:19 +0300 |
---|---|---|
committer | thecalcaholic <6317548+theCalcaholic@users.noreply.github.com> | 2022-09-22 16:13:19 +0300 |
commit | 04bb84250404e919cdcd099d24a9a8d57f5738be (patch) | |
tree | e22cf0f77325fed31b7747f4ec061484d6c6560e | |
parent | fc9b7d9b50a3659e659436c32313aafbab8e7d93 (diff) |
Revert "opcache.ini.sh: Add workaround for segfault when using PHP"
This reverts commit 546fd0d46d6295478e346cbda985cfb454e44469.
-rw-r--r-- | etc/ncp-templates/php/opcache.ini.sh | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/etc/ncp-templates/php/opcache.ini.sh b/etc/ncp-templates/php/opcache.ini.sh index 128f8bd8..7bbef81b 100644 --- a/etc/ncp-templates/php/opcache.ini.sh +++ b/etc/ncp-templates/php/opcache.ini.sh @@ -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 |