PHP has a default post/upload size of 2MB. You can adjust this value by using the below procedure, however, the idea is that a higher value would cause more server resource usage potentially leading to your account being suspended. Therefore, please use and adjust this value within reason.
Create a blank file in your script's directory called php.ini and add the following lines of code:
post_max_size = 10M
upload_max_filesize = 10M
- This method is under strict surveillance. Abuse will not be tolerated. Use your reasonable judgment before setting any values.
- PHP 5.x compatible method
- A reminder, we do not support or debug scripts as part of our normal support service if it's not a server-related issue. A fee may be charged for such requests.