PHP5 giving failed to open stream: HTTP request failed error when using fopen

前端 未结 5 1296
渐次进展
渐次进展 2021-01-02 06:22

This problem seems to have been discussed in the past everywhere on google and here, but I have yet to find a solution.

A very simple fopen gives me a

5条回答
  •  忘掉有多难
    2021-01-02 06:56

    Are you getting "HTTP request failed" without further details? The socket timeout could be expired. This default to 60 seconds. See: http://php.net/manual/en/function.socket-set-timeout.php

提交回复
热议问题