Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Anonymous
Anonymous asked in 電腦與網際網路程式設計 · 2 decades 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
  • 2 decades 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 級 )

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

  • ?
    Lv 7
    2 decades ago

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

    Source(s): 知識+
Still have questions? Get your answers by asking now.