php can't upload gi code example
Example: php can't upload gif
Check your file size limit. If you use XAMPP, open your "php.ini" file and
search (CTRL+F) for "filesize", then change the limit to whatever you want.
save the changes and restart apache.
You now should be able to upload bigger files.