Re-added opcache for PHP 8.1

This commit is contained in:
cytopia
2021-05-19 19:46:01 +02:00
parent 25e0e12fe9
commit 8d89ed4b02
4 changed files with 24 additions and 2 deletions

View File

@@ -312,6 +312,17 @@ RUN set -eux \
&& true
# -------------------- Installing PHP Extension: opcache --------------------
RUN set -eux \
# Version specific pre-command
&& wget https://raw.githubusercontent.com/php/php-src/php-8.0.6/ext/opcache/Optimizer/zend_dfg.h -P /usr/local/include/php/Zend/Optimizer \
# Installation: Version specific
# Type: Built-in extension
# Installation
&& docker-php-ext-install -j$(getconf _NPROCESSORS_ONLN) opcache \
&& true
# -------------------- Installing PHP Extension: pcntl --------------------
RUN set -eux \
# Installation: Generic
@@ -749,6 +760,8 @@ RUN set -eux \
&& php-fpm -m | grep -oiE '^oauth$' \
&& php -m | grep -oiE '^oci8$' \
&& php-fpm -m | grep -oiE '^oci8$' \
&& php -m | grep -oiE '^Zend Opcache$' \
&& php-fpm -m | grep -oiE '^Zend Opcache$' \
&& php -m | grep -oiE '^openssl$' \
&& php-fpm -m | grep -oiE '^openssl$' \
&& php -m | grep -oiE '^pcntl$' \