Background: the application (running in Apache/PHP) already has a file upload facility. However, the allowed file size is just 2MB. The user is uploading an 'important' file but the size is beyond 2MB.
Sure the file upload facility can be increased to accommodate the need. Nevertheless,
(1) Up to how much MB does a regular HTML/PHP file upload can handle? (2) Can it be increased further? Up to how much? (3) What are the impacts of increasing the file size to the server's performance, if there are any? if the server is on the cloud, will these impacts be still noticeable?
1) The default values for PHP will restrict you to a maximum 2 MB upload file size. To change this, you will need to update the properties upload_max_filesize and post_max_size in php.ini.
2) Depends on your setup. For example our hosting at a2hosting restricts up to a maximum of 32MB.
3) You can easily use up your space and bandwidth allocations by allowing huge file uploads. Of course, performance will be affected because it will take the scripts longer time to finish execution. Up to what extent the performance will be affected will probably need detailed testing on your part. Not much experience with cloud computing but in theory, it should be able to handle as much load as you are willing to pay for. :)
answered Jan 27 '10 at 04:35