For my Symfony project I need to upload some photos with a form.
All is working good for the sending when the file is under 2MB but when it's higher the server just tell me no. When I look at the Symfony Profiler to find the error I have this :
But the problem is that I've never set a maximum value equals to 2MB, In my form type I've set it to 16 :
So how can I bypass this limit of 2MB ?
Here is the post_max_size and the upload_max_filesize in the php.ini file.