Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Merge pull request #277 from f500/run-on-php74
Browse files Browse the repository at this point in the history
Run on PHP7.4
  • Loading branch information
ramondelafuente authored Dec 4, 2019
2 parents c68f810 + fabbfbe commit 06abbad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ansible/provision/group_vars/all/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ mariadb_slow_query_log_enabled: false

# PHP

php7_version: 7.3
php7_version: 7.4
php7_enable_fpm: yes

php7_extensions: [ apcu ]
Expand Down
5 changes: 3 additions & 2 deletions docker/php-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-cli-alpine
FROM php:7.4-cli-alpine

# Install PDO_mysql
RUN docker-php-ext-install pdo_mysql
Expand All @@ -8,7 +8,8 @@ RUN apk --no-cache add --virtual .build-dependencies \
autoconf \
g++ \
make \
&& pecl install xdebug-2.8.0 \
&& pecl channel-update pecl.php.net \
&& pecl install xdebug-2.8.1 \
&& apk --no-cache del .build-dependencies
COPY xdebug.ini ${PHP_INI_DIR}/conf.d/xdebug.ini

Expand Down
5 changes: 3 additions & 2 deletions docker/php-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-fpm-alpine
FROM php:7.4-fpm-alpine

# Install PDO_mysql
RUN docker-php-ext-install pdo_mysql
Expand All @@ -8,7 +8,8 @@ RUN apk --no-cache add --virtual .build-dependencies \
autoconf \
g++ \
make \
&& pecl install xdebug-2.8.0 \
&& pecl channel-update pecl.php.net \
&& pecl install xdebug-2.8.1 \
&& apk --no-cache del .build-dependencies
COPY xdebug.ini ${PHP_INI_DIR}/conf.d/xdebug.ini

Expand Down

0 comments on commit 06abbad

Please sign in to comment.