Warning: require_once(__DIR__/public/index.php) [function.require-once]: failed to open stream: No such file or directory in D:\wzfuq\APMServ5.2.6\www\htdocs\index.php on line 21Fatal error: require_once() [function.require]: Failed opening required '__DIR__/public/index.php' (include_path='.;C:\php5\pear') in D:\wzfuq\APMServ5.2.6\www\htdocs\index.php on line 21
另一种可能,一般服务器有防止跨站的防护,跨站的意思是一个只能访问一定范围内的代码,如果是宝塔,项目根目录有user.ini,在里面配置一下,把项目的目录指向项目的根目录就可以了。