From 39db3bac97ff5ce8275d1bb4d99c627acb2d1aec Mon Sep 17 00:00:00 2001 From: Arkadiusz Krakowiak Date: Fri, 12 Nov 2021 16:13:29 +0100 Subject: [PATCH] [DockerImages] Remove default php.ini --- php/Dockerfile | 3 +-- php/php.ini | 15 --------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 php/php.ini diff --git a/php/Dockerfile b/php/Dockerfile index ed27ab4..8b27852 100644 --- a/php/Dockerfile +++ b/php/Dockerfile @@ -11,7 +11,6 @@ RUN docker-php-ext-install exif RUN docker-php-ext-install fileinfo RUN docker-php-ext-install intl RUN docker-php-ext-install pdo_mysql -COPY php.ini $PHP_INI_DIR/php.ini ENV PHP_DATE_TIMEZONE="Europe/Warsaw" COPY --from=composer /usr/bin/composer /usr/bin/composer WORKDIR /symfony @@ -20,4 +19,4 @@ RUN wget https://get.symfony.com/cli/installer RUN chmod +x installer RUN bash installer RUN mv /root/.symfony/bin/symfony /usr/local/bin/symfony -WORKDIR / \ No newline at end of file +WORKDIR / diff --git a/php/php.ini b/php/php.ini deleted file mode 100644 index dd08e3b..0000000 --- a/php/php.ini +++ /dev/null @@ -1,15 +0,0 @@ -apc.enable_cli = 1 -date.timezone = ${PHP_DATE_TIMEZONE} -opcache.enable_cli = 1 -session.auto_start = Off -short_open_tag = Off - -# http://symfony.com/doc/current/performance.html -opcache.interned_strings_buffer = 16 -opcache.max_accelerated_files = 20000 -opcache.memory_consumption = 256 -realpath_cache_size = 4096K -realpath_cache_ttl = 600 - -post_max_size = 6M -upload_max_filesize = 5M