You can change the maximum file upload and timeout settings in PHP:
- Create a php.ini (or php4.ini if you are using PHP4) file in your text editor
- Paste the following code into the file:
upload_max_filesize = [SIZE] ;
post_max_size = [SIZE] ;
max_execution_time = [TIME] ;
- Change [SIZE] to the file size you want to be able to upload (such as 20M)
- Change [TIME] to the length of time you want have (such as 60)
- Upload the file to your directory
- You will now have the file size and time length changed to your specifications
For example, if you upload:
upload_max_filesize = 20M ;
post_max_size = 20M ;
max_execution_time = 60 ;
You would have a maximum file size of 20mb and it would be 60 seconds before the process timed out.