Can't Upload Large Files
Can't Upload Large Files
By Paul
09/07/04 (Edited 29/01/14)
Are file uploads beyond a certain size mysteriously failing on your site? This could be because of PHP configuration restrictions.
PHP's default limit for largest file upload allowed is 2 MB, and most web hosts leave it there. You can check your limit by going to Admin Panel -> Common Tasks -> Overview and clicking the "View PHPInfo" link near the bottom. Search for the max_upload_filesize and post_max_size lines. Your file uploads will be limited to the smaller of these two values.
If you're running your own server, you can edit the php.ini file to fix these values to reflect the size of files you'd like to allow to be uploaded. If on shared web hosting, you'll have to ask your web host to increase the limit for you.
By Paul
09/07/04 (Edited 29/01/14)
PHP's default limit for largest file upload allowed is 2 MB, and most web hosts leave it there. You can check your limit by going to Admin Panel -> Common Tasks -> Overview and clicking the "View PHPInfo" link near the bottom. Search for the max_upload_filesize and post_max_size lines. Your file uploads will be limited to the smaller of these two values.
If you're running your own server, you can edit the php.ini file to fix these values to reflect the size of files you'd like to allow to be uploaded. If on shared web hosting, you'll have to ask your web host to increase the limit for you.
Description | If you have changed the settings to allow large files but still can't upload beyond perhaps 2 MB, read this. |
Rating | |
Views | 1134 views. Averaging 0 views per day. |
Similar Listings |