From 46441b5f35dfedfb5811cf58b872a2247cf63944 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Tue, 23 Jan 2024 16:27:40 -0500 Subject: [PATCH] Setup php config for 1999M to be under 2G limit --- SD/FPP_Install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SD/FPP_Install.sh b/SD/FPP_Install.sh index 86834278c..5efa495d3 100755 --- a/SD/FPP_Install.sh +++ b/SD/FPP_Install.sh @@ -988,8 +988,8 @@ do sed -i -e "s/max_execution_time.*/max_execution_time = 1000/" ${PHPDIR}/${FILE} sed -i -e "s/max_input_time.*/max_input_time = 900/" ${PHPDIR}/${FILE} sed -i -e "s/default_socket_timeout.*/default_socket_timeout = 900/" ${PHPDIR}/${FILE} - sed -i -e "s/post_max_size.*/post_max_size = 4G/" ${PHPDIR}/${FILE} - sed -i -e "s/upload_max_filesize.*/upload_max_filesize = 4G/" ${PHPDIR}/${FILE} + sed -i -e "s/post_max_size.*/post_max_size = 1999M/" ${PHPDIR}/${FILE} + sed -i -e "s/upload_max_filesize.*/upload_max_filesize = 1999M/" ${PHPDIR}/${FILE} sed -i -e "s/;upload_tmp_dir =.*/upload_tmp_dir = \/home\/${FPPUSER}\/media\/upload/" ${PHPDIR}/${FILE} sed -i -e "s/^;max_input_vars.*/max_input_vars = 5000/" ${PHPDIR}/${FILE} sed -i -e "s/^output_buffering.*/output_buffering = 1024/" ${PHPDIR}/${FILE}