max exec time update
This commit is contained in:
parent
d3f916d057
commit
7c24f16f6e
|
|
@ -79,7 +79,9 @@ RUN \
|
||||||
# Disable APC - it has been replaced by APCu and opcache in PHP7 - https://pecl.php.net/package/apc
|
# 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 && \
|
echo 'apc.enabled = Off' >> /etc/php7/php.ini && \
|
||||||
# Increase memory_limit
|
# 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
|
# Change DocumentRoot to /var/www
|
||||||
sed -i 's/var\/www\/localhost\/htdocs/var\/www\/html/g' /etc/apache2/httpd.conf && \
|
sed -i 's/var\/www\/localhost\/htdocs/var\/www\/html/g' /etc/apache2/httpd.conf && \
|
||||||
# Change ServerRoot to /usr/local/apache
|
# Change ServerRoot to /usr/local/apache
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue