Skip to content

Commit

Permalink
Setup php config for 1999M to be under 2G limit
Browse files Browse the repository at this point in the history
  • Loading branch information
dkulp committed Jan 23, 2024
1 parent 1818100 commit 46441b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SD/FPP_Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 46441b5

Please sign in to comment.