MySQL
Apache with Mod PHP and Mod SSL(optional)
Unix OS
Perl with DBI/DBD - Perl Module
Upload - In order to upload up to 2 GB files some modification may be necessary.
By default ELF allows you to upload up to 3 files at once, however the combined size of all the uploads must be under 2 GB. Apparently, 2 GB
is an http limit and/or file system limit and is probably a pain to work around. To allow 2 GB you will have to modify the php.ini(a configuration
file for mod php) and change the following:
- max_execution_time = 120
- post_max_size = 2047M
- upload_max_filesize = 2047M
- upload_tmp_dir = "/mypartition/tmp"
As you can see we are 1 MB shy of 2 GB but putting 2048 would not work correctly for some reason.
PHP performs file uploads by first writing the files to a temporary directory which is located in the php.ini file under the directive upload_tmp_dir.
If there are multiple files being uploaded in an html form, then each file is uploaded sequentially until the last file is done.
After all files are uploaded successfuly then your php script is able to execute and the
files can be moved from the temporary directory to a directory you specify. There was an issue with the
max_execution_time variable in the php.ini file not being large enough because when moving
large files the script would timeout with the error message: PHP Fatal
error: Maximum execution time of 30 seconds exceeded.
So, we increased the max_execution_time to 120 seconds which should hopefully
resolve this issue. This time may vary depending on disk speed etc.
If a user complains that his browser goes blank when uploading files then
check the Apache error log files and look for execution time out errors.
|