php script stops after 360 seconds and shows 500 server error for large files
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am working on csv file upload. It is working fine for 3MB file. But when i am trying to upload 8MB file.It stops the script after 360 sec and shows 500 Internal server error. I had changed max_execution_time and memory_limit and all other paramaters also.But not importing the complete data into database. Can anyone help? 回答1: look at "post_max_size" and "upload_max_size" in your .ini file. You'll also likely need to extend the execution time of the script, via "max_input_time" and "max_execution_time" . php way ini_set('upload_max_filesize