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.

preguntada hace 4 años311 visualizaciones
2 Respuestas
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 hace 4 años
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 hace 4 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas