Add OPcache extension to PHP 5.4 images

This commit is contained in:
Yohann bianchi
2018-06-28 17:28:55 +02:00
parent 1b1e5821f6
commit 11acd840c7
7 changed files with 10 additions and 16 deletions
+1 -4
View File
@@ -19,6 +19,7 @@ EXTENSIONS := \
mbstring \
memcached \
mysqli \
OPcache \
pdo_mysql \
pdo_pgsql \
pgsql \
@@ -33,10 +34,6 @@ ifeq (,$(findstring $(PHP_VERSION), 7.0 7.1 7.2 latest))
# Add more extensions to 5.x series images.
EXTENSIONS += mysql
endif
ifneq (,$(findstring $(PHP_VERSION), 5.5 5.6 7.0 7.1 7.2 latest))
# Add OPCache check to PHP version with Zend OPCache.
EXTENSIONS += OPcache
endif
build:
@echo " =====> Building $(IMAGE):$(VERSION)..."