From e75e376762126f9629478aae795b5bdafa7ea361 Mon Sep 17 00:00:00 2001 From: Rafael Ameijeiras Date: Thu, 28 Apr 2022 13:47:33 +0200 Subject: [PATCH] adding post max size and 900s https timeout to installer el8 --- extras/deploy-scripts/pandora_deploy_community_el8.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extras/deploy-scripts/pandora_deploy_community_el8.sh b/extras/deploy-scripts/pandora_deploy_community_el8.sh index 9fb91bac8a..168faa3347 100644 --- a/extras/deploy-scripts/pandora_deploy_community_el8.sh +++ b/extras/deploy-scripts/pandora_deploy_community_el8.sh @@ -540,6 +540,10 @@ sed -i -e "s/^max_input_time.*/max_input_time = -1/g" /etc/php.ini sed -i -e "s/^max_execution_time.*/max_execution_time = 0/g" /etc/php.ini sed -i -e "s/^upload_max_filesize.*/upload_max_filesize = 800M/g" /etc/php.ini sed -i -e "s/^memory_limit.*/memory_limit = 800M/g" /etc/php.ini +sed -i -e "s/.*post_max_size =.*/post_max_size = 800M/" /etc/php.ini + +#adding 900s to httpd timeout +echo 'TimeOut 900' > /etc/httpd/conf.d/timeout.conf cat > /var/www/html/index.html << EOF_INDEX