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);
相關文章
相關標籤/搜索