php cgi模式下require显示Failed opening required (include_path='/usr/share/pear')

这个时候就是要配置include_path一劳永逸php

$path = __DIR__;
set_include_path(get_include_path() . PATH_SEPARATOR . $path);
相关文章
相关标签/搜索