I am trying to upload a file using uppy
. On my server I am using php 8.0
and Apache 2
.
I am uploading a file which is about 156Mb in size but server returns response with 413 status code and no message.
As per instruction given on all over internet I tried to configure my php.ini
file and here are the updated configurations
post_max_size = 20480M
upload_max_filesize = 20480M
max_execution_time = 24000
max_input_time = 24000
memory_limit = 800M
Unfortunately above settings didn't help me. I have confirmed the php.ini
file location with following command
php -i | grep Conf
Apart from this, I came across an answer that asked to set SecRequestBodyLimit
value in modsecurity.conf
. modsecurity was not even installed in my system but still I installed it and set the SecRequestBodyNoFilesLimit
value as SecRequestBodyLimit 1000000000
but no luck.
I highly doubt that this is from server and Uppy
has no role in this issue but I cannot predict the exact problem.