I have encountered an issue while uploading files to dropbox through my application that is hosted on Heroku. I wanted to upload approx 100MB files and they aren\'t being ho
To increase the file upload limit in Heroku while uploading to Dropbox, follow these steps:
custom_php.ini
, preferably.post_max_size
and upload_max_filesize
and set their value to the desired upload limit. (In my case, its 100M)web: vendor/bin/heroku-php-apache2 -i custom_php.ini .
I missed to add post_max_size
in my custom_php.ini
. And by this method, you can override any php.ini
configuration for Heroku.