当前位置:首页 > php > phpstudy+tp6 上传大文件报500错误

phpstudy+tp6 上传大文件报500错误

一叶知秋2023-11-20 21:05:33php5

首先,按照百度的教程,修改对应的上传配置;

最后,发现仍报错,

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。
给各位避个坑吧。。。。

扫描二维码推送至手机访问。

版权声明:本站部分文章来自互联网采集,请查看免责申明

本文链接:https://www.yyzq.team/post/302122.html

标签: php
分享给朋友:

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。