Merge pull request #781 from winfried-van-loon/764-780-php-fpm-mysql
Merging removed MySQL ext into MySQLi setting
This commit is contained in:
commit
b86211d2d8
|
@ -64,7 +64,6 @@ services:
|
|||
- INSTALL_EXIF=${PHP_FPM_INSTALL_EXIF}
|
||||
- INSTALL_AEROSPIKE_EXTENSION=${PHP_FPM_INSTALL_AEROSPIKE_EXTENSION}
|
||||
- INSTALL_MYSQLI=${PHP_FPM_INSTALL_MYSQLI}
|
||||
- INSTALL_MYSQL=${PHP_FPM_INSTALL_MYSQL}
|
||||
- INSTALL_TOKENIZER=${PHP_FPM_INSTALL_TOKENIZER}
|
||||
- INSTALL_INTL=${PHP_FPM_INSTALL_INTL}
|
||||
dockerfile: "Dockerfile-${PHP_VERSION}"
|
||||
|
|
|
@ -46,7 +46,6 @@ PHP_FPM_INSTALL_OPCACHE=false
|
|||
PHP_FPM_INSTALL_EXIF=false
|
||||
PHP_FPM_INSTALL_AEROSPIKE_EXTENSION=false
|
||||
PHP_FPM_INSTALL_MYSQLI=false
|
||||
PHP_FPM_INSTALL_MYSQL=false
|
||||
PHP_FPM_INSTALL_TOKENIZER=false
|
||||
PHP_FPM_INSTALL_INTL=false
|
||||
|
||||
|
|
|
@ -107,20 +107,6 @@ RUN if [ ${INSTALL_MEMCACHED} = true ]; then \
|
|||
docker-php-ext-enable memcached \
|
||||
;fi
|
||||
|
||||
#####################################
|
||||
# PHP MySQL:
|
||||
#####################################
|
||||
|
||||
ARG INSTALL_MYSQL=false
|
||||
COPY ./mysql.ini /usr/local/etc/php/conf.d/mysql.ini
|
||||
RUN if [ ${INSTALL_MYSQL} = true ]; then \
|
||||
# Install the php mysql extension
|
||||
docker-php-ext-install mysql && \
|
||||
docker-php-ext-install mysqli && \
|
||||
docker-php-ext-enable mysql && \
|
||||
docker-php-ext-enable mysqli \
|
||||
;fi
|
||||
|
||||
#####################################
|
||||
# PHP Aerospike:
|
||||
#####################################
|
||||
|
@ -162,7 +148,10 @@ COPY ./opcache.ini /usr/local/etc/php/conf.d/opcache.ini
|
|||
#####################################
|
||||
|
||||
ARG INSTALL_MYSQLI=false
|
||||
# MySQL extenstion is available for Php5.6 and lower only
|
||||
COPY ./mysql.ini /usr/local/etc/php/conf.d/mysql.ini
|
||||
RUN if [ ${INSTALL_MYSQLI} = true ]; then \
|
||||
docker-php-ext-install mysql && \
|
||||
docker-php-ext-install mysqli \
|
||||
;fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue