cent040's avatar

File upload error in Laravel 5.2

I am trying to upload a zip file on my server using laravel 5.2. But i am getting error "site can't be reached".

I set the max_filesize and post_max_size to : 1GB and also i set the max_execution_time to '0' for unlimited. But when i upload 1 MB sized file. It's upload easily. But when i upload 2+MB file. It upload to 10 to 20% and then message came : "This site can’t be reached" The connection was reset. I am having trouble please help me out.

Regards: Arfan

0 likes
3 replies
Snapey's avatar

What type of web server are you using? Apache? NGINX? IIS? php artisan serve? Valet 1.x? Valet 2.x

Snapey's avatar

check the nginx logs. how much memory does your application have available to it?

you could be running out of memory if you server is small

Please or to participate in this conversation.