Laravel Valet Increase Max Upload File Size
February 16, 2019 · ☕️ 1 min read
Are you using Laravel Valet? I do and I love it for its simplicity, its magic and the fact that it just works. Alright, cool! But actually one day I hit a wall because I need to upload almost a gig’s zip file and for most machines (yours probably included), chances are your file upload limit is up to 128mb. I’ve spent countless hours on this one and I thought I’d write this article to help you out in case you bump into this problem as well.
So here goes…
There are basically two things that we need to do:
- Update your PHP configuration file settings
post_max_sizeaccording to your need.
- Update Nginx’s server config file settings
client_max_body_sizeaccordingly as well.
Sounds easy, right? Here’s a raw video walkthrough I created as guide. It might different from your setup but I hope you guys get the idea.
Personal blog by @dorelljames
I love you and coding!
Let me know your thoughts... 😊
Continue reading articles using the links below...