diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 6e6dec3..0fb9f64 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -373,3 +373,6 @@ 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 + +php_admin_value[upload_max_filesize] = 10G +php_admin_value[post_max_size] = 10G diff --git a/conf/php-fpm.ini b/conf/php-fpm.ini deleted file mode 100644 index e2af6db..0000000 --- a/conf/php-fpm.ini +++ /dev/null @@ -1,3 +0,0 @@ -upload_max_filesize=10G -post_max_size=10G -; max_execution_time=60 diff --git a/scripts/backup b/scripts/backup index 3c83d69..3189d25 100644 --- a/scripts/backup +++ b/scripts/backup @@ -55,4 +55,3 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" #================================================= ynh_backup "/etc/php5/fpm/pool.d/$app.conf" -ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini" diff --git a/scripts/restore b/scripts/restore index e930d85..ef045f4 100644 --- a/scripts/restore +++ b/scripts/restore @@ -65,7 +65,6 @@ ynh_system_user_create $app #================================================= ynh_restore_file "/etc/php5/fpm/pool.d/$app.conf" -ynh_restore_file "/etc/php5/fpm/conf.d/20-$app.ini" #================================================= # SPECIFIC RESTORE