Skip to content

Commit 3e22017

Browse files
author
Michaël Perrin
committed
Update to PHP 7.1
1 parent a358302 commit 3e22017

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ the new host into account.
2727

2828
### PHP-FPM
2929

30-
PHP-FPM 7.0 is installed with the following configuration:
30+
PHP-FPM 7.1 is installed with the following configuration:
3131

3232
* Necessary extensions for Symfony
3333
* MySQL

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ services:
88
TIMEZONE: Europe/Paris
99
XDEBUG_REMOTE_HOST: 10.200.10.1
1010
volumes:
11-
- ./docker/php/php.ini:/usr/local/etc/php/conf.d/php.ini:ro
11+
- ./docker/php/php.ini:/usr/local/etc/php/php.ini:ro
1212
- ./docker/php/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini:ro
1313
- ./app:/var/www/app
1414
working_dir: /var/www/app

docker/php/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.0-fpm
1+
FROM php:7.1-fpm
22
MAINTAINER Michaël Perrin <contact@michaelperrin.fr>
33

44
# Necessary packages for Composer
@@ -18,6 +18,8 @@ RUN apt-get update && apt-get install -y \
1818
opcache
1919

2020
# MongoDB extension for PHP 7
21+
# The libssl-dev is necessary to avoid an error while mongodb extension install
22+
RUN apt-get update && apt-get install -y libssl-dev
2123
RUN pecl install mongodb \
2224
&& docker-php-ext-enable mongodb
2325

0 commit comments

Comments
 (0)