Joseph Morgan
Published in : 2022-02-01
Hello there,
I am facing this error when I try to upload image more than 1MB to my server which is running with Laravel & Nginx
What Should i do, I tried to update the php.ini & increased the values of
post_max_size
upload_max_filesize
max_execution_time
and nothing is changing the same error, please help!
It seems that the error is not from PHP this is Nginx error I suggest that you can update the client_max_body_size from the configuration file by the next steps
Like
server {
.....
client_max_body_size 64M;
}
that's all, good luck
Joseph Morgan Date : 2022-02-01
Best solution, you are amazing :) Thanks
Join our community and get the chance to solve your code issues & share your opinion with us
Sign up Now