3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00

Set PHP upload limit and disable expose_php in Docker image #443

This commit is contained in:
Michael Stenta 2021-09-14 19:24:19 -04:00
commit c4432b29e4

View file

@ -36,6 +36,9 @@ RUN { \
echo 'max_execution_time=240'; \ echo 'max_execution_time=240'; \
echo 'max_input_time=240'; \ echo 'max_input_time=240'; \
echo 'max_input_vars=5000'; \ echo 'max_input_vars=5000'; \
echo 'post_max_size=100M'; \
echo 'upload_max_filesize=100M'; \
echo 'expose_php=Off'; \
} > /usr/local/etc/php/conf.d/farmOS-recommended.ini } > /usr/local/etc/php/conf.d/farmOS-recommended.ini
# Set recommended realpath_cache settings. # Set recommended realpath_cache settings.