Allow Larger Upload File Sizes
This commit is contained in:
parent
453a8f9167
commit
9aee86f2bf
1 changed files with 2 additions and 2 deletions
|
@ -2189,8 +2189,8 @@ function ModifyPHPIniConfigForFile(){
|
||||||
# And for gods sake, please set error reporting so that it doesn't annoy anyone!
|
# 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"
|
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
|
# Set max execution time higher to 180 seconds
|
||||||
sed -i "s#^max_execution_time.*#max_execution_time = 100#g" "$PHPINIFILE"
|
sed -i "s#^max_execution_time.*#max_execution_time = 180#g" "$PHPINIFILE"
|
||||||
|
|
||||||
# Configure opcache "properly" for PHP 5.5.x and up
|
# Configure opcache "properly" for PHP 5.5.x and up
|
||||||
hasOpCache=$(cat "$PHPINIFILE" | grep -o "^\[opcache\]")
|
hasOpCache=$(cat "$PHPINIFILE" | grep -o "^\[opcache\]")
|
||||||
|
|
Loading…
Reference in a new issue