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.

gefragt vor 4 Jahren311 Aufrufe
2 Antworten
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
beantwortet vor 4 Jahren
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.

beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen