Commit 6350ffe8 authored by thomas craipeau's avatar thomas craipeau
Browse files

update php 7

parent fd8a052a
version: '2'
services:
mongo:
image: mongo:3.4
image: mongo:3.6
#volumes:
# - ./code/data/db:/data/db
volumes:
......
......@@ -23,12 +23,14 @@ RUN apt-get update && apt-get install -my \
RUN pecl install redis-4.0.1 \
&& pecl install xdebug-2.6.0 \
&& pecl install mongodb-1.6.0 \
&& pecl install mcrypt-1.0.2
&& pecl install mongodb \
&& pecl install mcrypt-1.0.2
RUN pecl install runkit7-3.1.0a1
RUN docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-enable redis xdebug mongodb mcrypt \
&& docker-php-ext-enable redis xdebug mongodb mcrypt runkit7 \
&& docker-php-ext-install curl
# Remove default nginx configs.
......
......@@ -3,6 +3,9 @@ server {
root /code/pixelhumain/ph;
index index.php;
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
client_max_body_size 100M;
fastcgi_read_timeout 1800;
......
File mode changed from 100644 to 100755
; Enable XDebug
zend_extension = xdebug.so
;zend_extension = xdebug.so
; XDebug configuration
xdebug.remote_enable = 1
......@@ -8,6 +8,8 @@ xdebug.max_nesting_level = 1000
xdebug.profiler_enable_trigger = 1
xdebug.profiler_output_dir = "/var/log"
runkit.internal_override = on
; Show PHP errors
display_errors = on
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment