Moeez448's avatar

apk File throwing an Invalid Exception

I have a scenario where the user can only upload a csv or an xsxl file. But while testing when I try to upload an apk file it is throwing an exception "Illuminate\Http\Exceptions\PostTooLargeException".

The request is not even reaching the controller's method where I can handle this exception. I am not even using Valet. How can I handle this with in the laravel application.

0 likes
2 replies
Sinnbeck's avatar

It checks the php.ini setting and uses that as the max. Increase post_max_size and it should help

Please or to participate in this conversation.