From 9aee86f2bf23890adf0f98aa6497f92518a98fa3 Mon Sep 17 00:00:00 2001 From: earnolmartin Date: Tue, 9 Apr 2024 18:26:17 -0600 Subject: [PATCH] Allow Larger Upload File Sizes --- ehcp/ehcpforceupdate.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ehcp/ehcpforceupdate.sh b/ehcp/ehcpforceupdate.sh index a7ab0f8..99b2d88 100755 --- a/ehcp/ehcpforceupdate.sh +++ b/ehcp/ehcpforceupdate.sh @@ -2189,8 +2189,8 @@ function ModifyPHPIniConfigForFile(){ # And for gods sake, please set error reporting so that it doesn't annoy anyone! sed -i "s#^error_reporting.*#error_reporting = E_ALL \& \~E_DEPRECATED \& \~E_NOTICE \& \~E_STRICT#g" "$PHPINIFILE" - # Set max execution time higher to 100 seconds - sed -i "s#^max_execution_time.*#max_execution_time = 100#g" "$PHPINIFILE" + # Set max execution time higher to 180 seconds + sed -i "s#^max_execution_time.*#max_execution_time = 180#g" "$PHPINIFILE" # Configure opcache "properly" for PHP 5.5.x and up hasOpCache=$(cat "$PHPINIFILE" | grep -o "^\[opcache\]")