fopen is not working on my server

前端 未结 6 2016
迷失自我
迷失自我 2020-12-11 03:14

It works perfectly on localhost with Xampp, but when I try it on my server (host-ed.net), fopen can\'t open any url, it only works for files without http.

&l         


        
6条回答
  •  半阙折子戏
    2020-12-11 03:43

    If you are using PHP-FPM, also check the configuration files in pool.d/. PHP-FPM pools can override php settings by using php_admin_flag, php_admin_value, php_flag or php_value. (We encountered this on a Ubuntu 16 vps)

提交回复
热议问题