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

在使用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

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章