Top Nav

Archive | PHP

File Upload Size Limits

In php.ini the following parameters impact file uploads:

  • file_uploads
    http://www.php.net/manual/en/ini.sect.file_uploads.php#ini.file-uploads
  • upload_tmp_dir
    http://www.php.net/manual/en/ini.sect.file_uploads.php#ini.upload-tmp-dir
  • upload_max_filesize
    http://www.php.net/manual/en/ini.sect.file_uploads.php#ini.upload-max-filesize
  • post_max_size
    http://www.php.net/manual/en/ini.sect.data-handling.php#ini.post-max-size
  • max_input_time
    http://www.php.net/manual/en/ref.info.php#ini.max-input-time
  • memory_limit
    http://www.php.net/manual/en/ini.sect.resource-limits.php#ini.memory-limit

Apache might also impose a limit on the size of file uploads using the LimitBodyRequest directive. See http://httpd.apache.org/docs-2.1/ko/mod/core.html#limitrequestbody for details.

0