include .php file in folder above

后端 未结 5 1214
既然无缘
既然无缘 2021-02-15 09:49

I am receiving this error

Warning: include(../config.php) [function.include]: failed to open stream: No such file or directory in /home/soizastu/public_html/cms/         


        
5条回答
  •  后悔当初
    2021-02-15 10:19

    Make sure that the user you're using to run your web server can read the file. For a sanity check, chmod the file to 665. If it's a Windows system, then make it so that Everyone can read the file.

提交回复
热议问题