mirror of
https://github.com/chialab/docker-php.git
synced 2026-08-24 10:13:24 -05:00
✨ Add OPcache extension to PHP 5.4 images
This commit is contained in:
@@ -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)..."
|
||||
|
||||
Reference in New Issue
Block a user