手動安裝Pear 模塊

# pear install Structures_Graph
WARNING: channel "pear.php.net" has updated its protocols, use "pear channel-update pear.php.net" to update
downloading Structures_Graph-1.0.3.tgz ...
Starting to download Structures_Graph-1.0.3.tgz (30,191 bytes)
.........done: 30,191 bytes

Warning: PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory in

PEAR/Downloader.php on line 1191
PHP Warning:  PEAR_Downloader::require_once(Structures/Graph.php): failed to open stream: No such file or directory

in /usr/share/pear/PEAR/Downloader.php on line 1191
PHP Fatal error:  PEAR_Downloader::require_once(): Failed opening required 'Structures/Graph.php'

(include_path='/usr/share/pear') in /usr/share/pear/PEAR/Downloader.php on line 1191

 

提示找不到“Structures/Graph.php”,可以手動安裝:

下載:wget http://download.pear.php.net/package/Structures_Graph-1.0.3.tgz

tar zxf Structures_Graph-1.0.3.tgz

cp -R Structures_Graph-1.0.3/Structures /usr/share/pear/

再執行:

pear install HTML_Template_IT-1.3.0

成功完成!

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