prashantgaurav1994's avatar

PostTooLargeException

i already configured php.ini file (post_max_size=10240M) , but still throwing PostTooLargeException . how to increase upload and download limit ...? please help me .

0 likes
10 replies
Snapey's avatar

there is also a max_upload setting

Snapey's avatar
Snapey
Best Answer
Level 122

php.ini. you already edited it

prashantgaurav1994's avatar

hi Snapey,

i changed max_upload , still showing same PostTooLargeException......?

Snapey's avatar

you marked it solved? Is there still an issue?

how big is the upload?

Shahrukh4's avatar

Please don't configure the php.ini files and all. Just add these lines in the

public > .htaccess file that are as follows and everything will work fine..

php_value upload_max_filesize 100M
php_value post_max_size 100M
php_value max_input_time 120
php_value max_execution_time 120
1 like
Snapey's avatar

and how much memory do you have?

Snapey's avatar

I doubt you will get it to work.

Consider streaming the file to S3 direct from the client

Michael Dyrynda's blog contains a series of posts covering this

https://dyrynda.com.au

Please or to participate in this conversation.