Browse Source

added php opcache extension, increased php max_upload_size and max_post_size

Bachir Soussi Chiadmi 6 years ago
parent
commit
1e43acc34f
2 changed files with 3 additions and 0 deletions
  1. 1 0
      Docker/php/Dockerfile
  2. 2 0
      Docker/php/php-custom.ini

+ 1 - 0
Docker/php/Dockerfile

@@ -13,6 +13,7 @@ RUN apt-get update && apt-get install -y \
 		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-install pdo_mysql zip && \
+		docker-php-ext-install opcache && \
 		apt-get install -y git vim && \
 		pecl install redis-3.1.0 && \
     pecl install xdebug-2.5.0 && \

+ 2 - 0
Docker/php/php-custom.ini

@@ -1 +1,3 @@
 memory_limit = 512M
+upload_max_filesize = 50M
+post_max_size = 50M