promotion image of download ymail app
Promoted
Anonymous
Anonymous asked in 電腦與網際網路程式設計 · 1 decade ago

安裝PEAR的問題

一直出現

WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update

該如何解決?

另外

Note: To use PEAR without any problems you need to add your

PEAR Installation path (c:\appserv\www/PEAR)

to your include_path.

該如何增加 include_path?

2 Answers

Rating
  • 1 decade ago
    Favorite Answer

    1.這段訊息,表示安裝套件的channel已經有修改,所以請執行以下指令更新channel:

    #pear channel-update pear.php.net

    假如你是在WINDOWS OS裡面安裝pear

    改用以下指令更新channel:

    C:\> pear channel-update pear.php.net

    意思就是更新pear.php.net中安裝或升級套件的channel

    2.在php.ini裡面

    有一個設定項目叫做include_path

    把你安裝PEAR的路徑加在後面就可以

    2005-11-18 08:22:09 補充:

    Linmiss ( 研究生 3 級 )

    你所使用的回答是我寫的,事實上也不適合用在回答這一題上

    • Commenter avatarLogin to reply the answers
  • 1 decade ago

    先確定主機上有PEAR.php到http://pear.php.net/package/HTML_QuickForm下載QuickF... path選任一(最簡單的就是"." dot)在你選好的include path裡面開一個HTML的目錄把tarball裡面的QuickForm.php和目錄QuickForm解壓在HTML裡面

    Source(s): 知識+
    • Commenter avatarLogin to reply the answers
Still have questions? Get your answers by asking now.