PHP see only 20 uploading files at a time

后端 未结 8 1392
面向向阳花
面向向阳花 2020-11-29 10:48

When I try to upload more than 20 files at a time, then the web server see only first 20. Any other files are just ignored. What is the problem?

Simple code to try:<

相关标签:
8条回答
  • 2020-11-29 11:47

    You might be running into post_max_size or upload_max_filesize setting limitations.

    You can change them in php.ini (post_max_size should be larger than upload_max_filesize)

    0 讨论(0)
  • 2020-11-29 11:54

    Set the max-file-uploads setting higher (yes, it's a 'newish' setting).

    It's PHP_INI_SYSTEM, so it can either be set in php.ini or webserver/apache configuration. No .htaccess or 'in-script' access I'm afraid.

    0 讨论(0)
提交回复
热议问题