Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在 docker 容器内运行 apache Webserver。为了能够使用多个 php 版本,我在这个 docker-container 中使用了 phpfarm。
在我配置 xdebug 并将其连接到 phpstorm 之后,我想知道为什么调试会话总是以浏览器中的 500 错误结束。
在我请求网页后,超时时间接近 40 - 50 秒。
解决方案是在每个 php 版本的 vhostfile 中为服务器设置超时:
FcgidIOTimeout 300
使用此参数,超时设置为 300 秒。不要忘记重新启动或重新加载 Web 服务器。