如何增加事务超时?我想上传视频,但是大尺寸的视频没有上传吗?
它抛出错误The process *** exceeded the timeout of 60 seconds.
如何增加事务超时?我想上传视频,但是大尺寸的视频没有上传吗?
它抛出错误The process *** exceeded the timeout of 60 seconds.
您需要更改php中的一些设置.伊尼:
upload_max_filesize = 2M
;or whatever size you want
max_execution_time = 60
; also, higher if you must - sets the maximum time in seconds
你的PHP在哪里.ini的位置取决于您的系统环境.更多信息:http://php.net/manual/en/ini.list.php