I am working on increasing the max upload file size for a SilverStripe site as I want the new limit to be 20 MB instead of 2 MB. I have placed this line of code in the root .htaccess file for the project:
php_value upload_max_filesize 20M
The reason for this problem is because you've not set your
post_max_size defaults to 8mb. So you need to do the following:
php_value upload_max_filesize 20M php_value post_max_size 50M
You can obviously edit the
post_max_size to something more suitable to what you need.