Nginx 1.6.2 / PHP, limit website php to /
Warning: include(/functions.php): failed to open stream: No such file or directory in /home/sites/mywebsite/www/index.php on line 13
How to limit php to www website directory / so that it does not go back to /home/sites/mywebsite/www/ ?
Nginx 1.6.2 - Debian 8 - PHP Version 5.6.30 - FPM/FastCGI
如果functions.php
位于相同的目录 - 比尝试这个:
include __DIR__ . '/functions.php';
链接地址: http://www.djcxy.com/p/32428.html
上一篇: 如何从ec2实例中获取实例ID?