I had the same problem, and I solved it.
if you are using wamp for your localhost then click on the wamp green icon that is running and press on PHP directory, then you will see php.ini file
if you dont use wamp software, then just find the php.ini file and open it. and search for upload_max_filesize. you should find rows like the bellow one:
; Maximum allowed size for uploaded files.
upload_max_filesize = 2M
by default the upload_max_filesize is 2 megabyte. Just simply change it to
upload_max_filesize = 200M (200 megabyte)
then save your php.ini file and restart your services and it will work without any diverticulitis :)