File Upload
 Send this file:
 
   

Parameters set in file php.ini will limit the file size you will be able to upload

file_uploads1 Indicates if PHP will allow files to be uploaded to this serverpassed
upload_max_filesize10M Specifies the maximum file size that PHP will allow to be uploaded.The maximum file size that you can upload is 10Mpassed
max_execution_time30Specifies the maximum time that a PHP script is allowed to run. This is the default script execution setting for PHP. Someone using a 56kbit modem will probably be able to upload a ~210kByte file (56kbits/8bitsx30seconds=210kByte file).warning
post_max_size20MSpecifies the maximum POST page size that PHP will accept. passed
upload_tmp_dir

Location where PHP temporarily stores an uploaded file
upload_tmp_dir is currently not set. PHP will use the /tmp directory as default The owner of the httpd/apache process is unable to write to the directory /tmp. PHP will default, and use the /tmp directory for temporary storage when uploading. Please update php.ini file or change permissions on /tmp
warning
Additional causes of limitations for file uploads, Please read if you are still limited.

I can upload small files, but I still cannot upload a file larger than 500k bytes Chances are you installed PHP with via a RPM install. When trying to upload, you will get a message that page cannot be found or does not exist. Look for file called php.conf. Usually located in /etc/httpd/conf.d/php.conf

Update LimitRequestBody to a value you are comfortable with. The default value is 500k, (thereby limiting your post to 500k) . Also check in httpd.conf for this variable. Make change, restart apache.
I can upload small files, but I still cannot upload a file larger than 1Meg bytes Chances are you have Squid v2.5 or less running on either your server, or on a firewall. When trying to upload, you will get a message that page cannot be found or does not exist.

There is a variable in squid.conf called request_body_max_size the is set to a default value of 1Meg. (even if variable is commented out). Set this variable to 0 (unlimited) and restart squid.
License    www.epiware.com