From 990cf764d23b64c1e78f8a233f82495ee32b9830 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Wed, 3 Oct 2018 19:00:04 +0530 Subject: [PATCH] Remove ini file for php --- conf/php-fpm.conf | 11 +++++++++++ conf/php-fpm.ini | 10 ---------- scripts/backup | 1 - scripts/restore | 1 - 4 files changed, 11 insertions(+), 12 deletions(-) delete mode 100644 conf/php-fpm.ini diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 1c70519..d50ba2e 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -249,3 +249,14 @@ catch_workers_output = yes ;php_value[memory_limit] = 256M ;php_value[short_open_tag] = On +# Common values to change to increase file upload limit +; upload_max_filesize = 50M +; post_max_size = 50M +; 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/conf/php-fpm.ini b/conf/php-fpm.ini deleted file mode 100644 index 27a4207..0000000 --- a/conf/php-fpm.ini +++ /dev/null @@ -1,10 +0,0 @@ -# Common values to change to increase file upload limit -; upload_max_filesize = 50M -; post_max_size = 50M -; 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 1ea97b7..f806700 100755 --- a/scripts/backup +++ b/scripts/backup @@ -57,7 +57,6 @@ ynh_mysql_dump_db "$db_name" > db.sql #================================================= ynh_backup "/etc/php/7.1/fpm/pool.d/$app.conf" -ynh_backup "/etc/php/7.1/fpm/conf.d/20-$app.ini" #================================================= # BACKUP THE CRON FILE diff --git a/scripts/restore b/scripts/restore index 71f6079..19db785 100755 --- a/scripts/restore +++ b/scripts/restore @@ -99,7 +99,6 @@ chown -R $app: $final_path #================================================= ynh_restore_file "/etc/php/7.1/fpm/pool.d/$app.conf" -ynh_restore_file "/etc/php/7.1/fpm/conf.d/20-$app.ini" #================================================= # RESTORE THE CRON FILE