brian85 Hello, despite I changed The max filesize to 8192Mo, I can't upload an image heavier than 1024Ko Have you an idea ? (I tried disabling re enabling and cache:clear) Thanks.
jvloo Have you checked your maximum upload file size in your php.ini? See: https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-maximum-upload-file-size & https://www.a2hosting.com/kb/cpanel/cpanel-software/changing-php-versions-and-settings-in-cpanel
tankerkiller125 Are you using an image upload extension of some kind? If so I believe that the extension may have it's own max size value that you can set from the admin dashboard.
brian85 I'm using "flagrow/upload": "0.7.1" And yes I've checked my php.ini : upload_max_filesize => 2M so why just 1100ko my upload failed ? Thank you for your help guys.
tankerkiller125 flagrow upload has it's own max upload size settings if you go to "File Upload" on the left side in the dashboard (you may need to scroll down there) and then look at those settings you'll see that the very first one is "Max Upload Size" you can change it from there, this setting is independent from php.ini, also you may need to restart the PHP-FPM service before changes you make to php.ini take effect.
brian85 I know that, I've changed that before posting here, I think that the real reason is a default value of nginx wich allow only 1Mo by default see here : https://www.techcoil.com/blog/configuring-nginx-and-php-7-stack-in-linux-to-increase-or-decrease-file-upload-size-limit/
tankerkiller125 brian85 This is probably in fact the real issue, I recommend updating the nginx config to resolve the issue.
brian85 Yes it was the default value, in order to change that you have to edit the /etc/nginx/nginx.conf and adding this in http block # override default value of 1M to 8M client_max_body_size 8m; Thank you, you can tag this solved 😄