php使用include报错require_once(../include.php): failed to open stream: No such file or directo 引入路径的问题,建议加入include_once $_SERVER['DOCUMENT_ROOT']."/include.php";意思是获取网站根目中的include.php 截图如下: