Locate the php.ini file in the folder your upload script resides in. If none exists, create a new text file called php.ini.
In the php.ini file, locate the line called 'upload_max_filesize = 2M'.
Modify that entry to read 'upload_max_filesize = 10M', or whatever your script requires. (M = megabytes)
That's it!