摘要:
get_include_path获取当前include_path配置选项的值,在当前代码目录未找到include文件时,则到include_path去include。set_include_path 设置默认的php include 目录require_once(PEAR.php) [function.require-once]: failed to open stream,这种情况要么是include_path不是默认路径,要么是对PEAR.php文件没有读写权限。如果是路径不对,用set_include_path 设置默认路径即可,权限不够则添加相应权限 阅读全文