Advanced PHP Programming -- "require_once(Console/getopt.php) : failed to open stream" P129

来源:互联网 发布:冰寒扒皮知乎 编辑:程序博客网 时间:2024/06/09 20:17
在使用PEAR的Console_Getopt 包进行命令行取值时,出现require_once(Console/getopt.php) : failed to open stream这个错误时运行如下命令,修改文件路径就可以解决。

pear config-show | grep "PEAR directory"


参考:http://forums.squizsuite.net/index.php?showtopic=6707