i am using share hosting, and i can only upload file max 2MB thur http. Is there any method that I can override and make the max upload size to 10MB? Because hosting company will not update their server setting.
Long answer: If they won't change you need to change. You could always split your files into smaller pieces and provide methods for combining them back together again.
If http is your only method for uploading files you're rather stuck. Check and make sure that you don't also have ftp access. If you're paying for hosting it's likely you have an alternate method of transferring files.
All #### are in bytes.
-Upload max filesize is self explanatory
-Post max size must be (slightly) larger than upload max filesize
-Memory limit should be larger than post max size. Usually 1-4MB more is more than sufficient depending on the complexity of your script.
Many package scripts also have their own setting which will restrict upload sizes, ensure you find and change that setting too.