File Upload Issues

0

Hello, I have a file upload script using dropzone and I get a 413 (Payload Too Large) response when loading files over 3.5 mb. My php ini settings for post_max_size and upload_max_filesize are both set to 40M.

Is there some other restriction I'm not aware of?

I am using a LAMP (PHP 7) Certified by Bitnami 7.3.15 instance.

feita há 4 anos312 visualizações
2 Respostas
0

Hi Turbo120,

Bitnami has some documentation to support this issue https://docs.bitnami.com/aws/infrastructure/lamp/administration/increase-upload-limit-php/

Have you already followed the recommendations there?

Thanks for using Lightsail,
Jonathan

AWS
respondido há 4 anos
0

Thank you. I figured out that it was actually the cropper.js script making a 5 mb file into a 41mb file after cropping it before sending it to the server.

respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas