Skip to content
Advertisement

upload_max_filesize doesn’t change within Laravel 5.1

I’m working on multiple file upload while that time I’ve got an error

The file "theOne.mp3" exceeds your upload_max_filesize ini directive (limit is 2048 KiB).

So after that I’ve increased the post_max_size = 20M and upload_max_filesize = 20M and checked it within test.php file it shows

Screenshot

Even though it shows 2M within my Laravel Project and throws the error. What could be the reason behind this.

Advertisement

Answer

So finally I’ve solved it by myself might be I got downvoted for this but I don’t know this worked for me even after apache2 restart that won’t effect within my project but after that I've restarted my entire system and it all works fine for me. The reason might be because of the cache memory but I’m not sure about that

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement