failed to open stream: Permission denied file_get_contents which generates XML FILE

后端 未结 3 1297
你的背包
你的背包 2020-12-19 21:56

I am trying to generating an XML file, but error come in this file_get_contents() PHP function, this is my code:

 function mobile_login1($P1, $P2)
{
    $url         


        
3条回答
  •  攒了一身酷
    2020-12-19 22:48

    it turns out it was a problem with on my server:

    I ran this line from the terminal to reslove it

    setsebool -P httpd_can_network_connect on
    

    thanks for the suggestion guys

提交回复
热议问题