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

前端 未结 5 1283
渐次进展
渐次进展 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 07:10

    Check that your php.ini config is set to allow fopen to open external URL's:

    allow_url_fopen "1"
    

    http://www.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen

提交回复
热议问题