diff --git a/conf/nginx.conf b/conf/nginx.conf index 549b52a..b26a6dc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -7,7 +7,7 @@ location __PATH__/ { index index.php; # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 50M; try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ab1a471..b4c2372 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -419,8 +419,8 @@ chdir = __FINALPATH__ ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -; php_admin_value[upload_max_filesize] = 50M -; php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 50M +php_admin_value[post_max_size] = 50M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters diff --git a/scripts/install b/scripts/install index 6873ccf..8acf17c 100755 --- a/scripts/install +++ b/scripts/install @@ -152,7 +152,7 @@ ynh_script_progression --message="Adding an admin..." --weight=3 #Generate the run-time configuration php$phpversion $final_path/scripts/config_gen.php -# create an account +# create an admin account php$phpversion $final_path/scripts/create_account.php $admin $password #=================================================