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.

posta 4 anni fa311 visualizzazioni
2 Risposte
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
con risposta 4 anni fa
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.

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande