PHP: Set max_file_uploads for one file rather than php.ini

别说谁变了你拦得住时间么 提交于 2019-12-03 16:16:07

Correction: max_file_uploads can NOT be changed outside php.ini. See PHP "Bug" #50684

damian

Yes it can be changed. Use the .htaccess file and add this:

php_value max_file_uploads 40

example, i use this in my .htaccess in the folder:

php_value upload_max_filesize 25M
php_value post_max_size 25M
php_value max_file_uploads 1000

;)

damian rossi

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!