diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index e051293..4324452 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -390,3 +390,13 @@ catch_workers_output = yes ;php_admin_value[error_log] = /var/log/fpm-php.www.log ;php_admin_flag[log_errors] = on ;php_admin_value[memory_limit] = 32M +; Common values to change to increase file upload limit +upload_max_filesize = 8M +post_max_size = 8M +; mail.add_x_header = Off + +; Other common parameters +max_execution_time = 600 +; max_input_time = 300 +; memory_limit = 256M +; short_open_tag = On diff --git a/scripts/backup b/scripts/backup index f18c3fa..508a672 100755 --- a/scripts/backup +++ b/scripts/backup @@ -49,5 +49,4 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_backup "/etc/php/7.2/fpm/pool.d/$app.conf" -ynh_backup "/etc/php/7.2/fpm/conf.d/20-$app.ini" diff --git a/scripts/restore b/scripts/restore index 210f308..67a6fb3 100755 --- a/scripts/restore +++ b/scripts/restore @@ -80,7 +80,6 @@ chown -R $app: $final_path #================================================= ynh_restore_file "/etc/php/7.2/fpm/pool.d/$app.conf" -ynh_restore_file "/etc/php/7.2/fpm/conf.d/20-$app.ini" #================================================= # SPECIFIC RESTORATION