簡體   English   中英

在Mac OS上安裝php Pear

[英]Install php pear on mac os

如何為PHP糾正安裝梨。 我將所有Web服務器存儲在/ opt / local中。 但是梨要安裝到/ Users /。 如何更改此文件夾。

 c8-bc-c8-d8-eb-65:tmp macbookpro$ sudo php -d detect_unicode=0 go-pear.phar 

    Below is a suggested file layout for your new PEAR installation.  To
    change individual locations, type the number in front of the
    directory.  Type 'all' to change all of them or simply press Enter to
    accept these locations.

     1. Installation base ($prefix)                   : /Users/macbookpro/pear
     2. Temporary directory for processing            : /tmp/pear/install
     3. Temporary directory for downloads             : /tmp/pear/install
     4. Binaries directory                            : /Users/macbookpro/pear/bin
     5. PHP code directory ($php_dir)                 : /Users/macbookpro/pear/share/pear
     6. Documentation directory                       : /Users/macbookpro/pear/docs
     7. Data directory                                : /Users/macbookpro/pear/data
     8. User-modifiable configuration files directory : /Users/macbookpro/pear/cfg
     9. Public Web Files directory                    : /Users/macbookpro/pear/www
    10. Tests directory                               : /Users/macbookpro/pear/tests
    11. Name of configuration file                    : /Users/macbookpro/.pearrc

您可以通過按該行上的相應數字來更改目錄。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM