php.ini update

This commit is contained in:
Andrei Condurachi 2020-11-29 17:35:31 +02:00
parent 7c24f16f6e
commit 68d04e4a14
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ RUN \
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 && \
# max_input_time to 2min
sed -i 's/max_input_time.*/max_input_time = 120/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