File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ the new host into account.
27
27
28
28
### PHP-FPM
29
29
30
- PHP-FPM 7.0 is installed with the following configuration:
30
+ PHP-FPM 7.1 is installed with the following configuration:
31
31
32
32
* Necessary extensions for Symfony
33
33
* MySQL
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
8
8
TIMEZONE : Europe/Paris
9
9
XDEBUG_REMOTE_HOST : 10.200.10.1
10
10
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
12
12
- ./docker/php/xdebug.ini:/usr/local/etc/php/conf.d/xdebug.ini:ro
13
13
- ./app:/var/www/app
14
14
working_dir : /var/www/app
Original file line number Diff line number Diff line change 1
- FROM php:7.0 -fpm
1
+ FROM php:7.1 -fpm
2
2
MAINTAINER Michaël Perrin <contact@michaelperrin.fr>
3
3
4
4
# Necessary packages for Composer
@@ -18,6 +18,8 @@ RUN apt-get update && apt-get install -y \
18
18
opcache
19
19
20
20
# 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
21
23
RUN pecl install mongodb \
22
24
&& docker-php-ext-enable mongodb
23
25
You can’t perform that action at this time.
0 commit comments