简体   繁体   中英

Cant upload big file via PHP

The console shows the warning Time over 1000ms when I upload a file more than 10MB. All of the settings in php.ini are fine, but I still cannot upload to the server.

You need to update upload max size,max execution time and post max size Update the Maximum upload size in the php.ini file.

Variable name in php.ini file

upload_max_filesize:11M post_max_size:11M // more than 10M max_execution_time:500

Thanks All. After I set the post_max_size to 100M in my WHM and everything done!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM