diff --git a/Dockerfile b/Dockerfile index bce7be8..d589c80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -79,7 +79,9 @@ RUN \ # Disable APC - it has been replaced by APCu and opcache in PHP7 - https://pecl.php.net/package/apc echo 'apc.enabled = Off' >> /etc/php7/php.ini && \ # Increase memory_limit - sed -i 's/memory_limit.*/memory_limit = 512M/g' /etc/php7/php.ini && \ + sed -i 's/memory_limit.*/memory_limit = 2G/g' /etc/php7/php.ini && \ + # max_execution_time to 5min + sed -i 's/max_execution_time.*/max_execution_time = 300/g' /etc/php7/php.ini && \ # Change DocumentRoot to /var/www sed -i 's/var\/www\/localhost\/htdocs/var\/www\/html/g' /etc/apache2/httpd.conf && \ # Change ServerRoot to /usr/local/apache