SilverStripe file upload limit error
If you receive an error when uploading files in SilverStripe along the lines of ‘Upload failed, Filesize exceeds 2 MB’ then try adding these lines to php.ini and adding to your root folder.
upload_max_filesize = 10M
post_max_size = 10M
If the issue still persists then try uploading the php.ini file to the /framework folder. Adding it to this folder is what solved the problem for me on some web servers.