fopen() fails to create a file on linux

后端 未结 3 2155
终归单人心
终归单人心 2021-02-09 00:47

I\'m trying to create a file through fopen() as below :



        
3条回答
  •  迷失自我
    2021-02-09 01:52

    the folder has to be owned by apache user so:

    sudo chown -R www-data:www-data ~/public_html/
    

提交回复
热议问题