Symfony - The file exceeds your upload_max_filesize ini directive (limit is 0 KiB)

Viewed 39

I have a problem on Symfony 2.6 trying to upload a PDF File.

When I run the function move on an new UploadedFile I get this error :

The file "exemple_pdf_modifiable.pdf" exceeds your upload_max_filesize ini directive (limit is 0 KiB).

1

When i check phpinfo(), I have these infos :

post_max_size 50M ; upload_max_filesize 50M

2

Has anyone ever encountered this issue ? I didnt find any answer to my problem on the web; Thank you !

0 Answers
Related