Can't Upload Large Files
Can't Upload Large Files
By Paul
Jul 09, 2004 (Edited Jan 29, 2014)
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
Jul 09, 2004 (Edited Jan 29, 2014)
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 | 1,096 views. Averaging 0 views per day. |
Similar Listings |