include_path=’.;C:\php\pear include_path=’.;C:\php\pear 2015 年 12 月 15 日 北漂小兄弟 Comments 0 Comment include_path=’.;C:\php\pear 在windows中 php在require或者include的的时候,有时候会报这个错误,原因是路径不对,所以我们应该使用绝对路径或者使用./这样的开头 require(‘./app/common/functions.php’); 或者 require(‘c:/wamp/www/app/common/functions.php’); 打赏赞(4)分享