phpstudy+tp6 上传大文件报500错误
首先,按照百度的教程,修改对应的上传配置;
最后,发现仍报错,
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at admin@example.com to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
最终:
在apche的配置里面加上:
单位是:s
IPCConnectTimeout 3000
IPCCommTimeout 3000
<IfModule mod_fcgid.c>
IPCConnectTimeout 3600
IPCCommTimeout 3600
</IfModule>```
修改后记得重启一下apache。
给各位避个坑吧。。。。