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.
我有两个相同的脚本,但一个在我的家庭测试服务器上工作,当上传到我的托管服务提供商时它会超时。
homedns.org/hmm/example.php (在我的家庭服务器上工作)
xxxx/~cvxadmin/pvpgnserverscript/example.php
我很困惑,我该怎么做才能解决这个问题?
可能有多种可能性。可能存在阻止外部连接(或阻止特定端口)的防火墙设置。
或者,在 php 配置中可能有一些东西禁用了套接字功能。
确保您的 site5 帐户上明确显示了 php 错误,因为它们可能会揭示您无法使用此功能的原因。