File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ sed -i "s/9999/99$v_tpl/g" /etc/php/$version/fpm/pool.d/dummy.conf
135135cp -f $HESTIA_INSTALL_DIR /php-fpm/php-fpm.conf /etc/php/$version /fpm/
136136sed -i " s/fpm_v/$version /g" /etc/php/$version /fpm/php-fpm.conf
137137
138+ # Increase max upload and max post size
139+ sed -i " s/upload_max_filesize = 2M/upload_max_filesize = 100M/g" /etc/php/$version /fpm/php.ini
140+ sed -i " s/post_max_size = 8M/post_max_size = 100M/g" /etc/php/$version /fpm/php.ini
141+ sed -i " s/max_execution_time = 30/max_execution_time = 60/g" /etc/php/$version /fpm/php.ini
142+
138143# Install backend template
139144cp -f $HESTIA_INSTALL_DIR /php-fpm/multiphp.tpl \
140145 $HESTIA /data/templates/web/php-fpm/PHP-${version/ \. / _} .tpl
You can’t perform that action at this time.
0 commit comments