2012-01-21 12 views
0

PHPのためにinstal pearを修正する方法。私は/ opt/localにすべてのWebサーバーを格納します。 しかし、梨は/ Users /にインストールしたいです。どのようにこのフォルダを変更する。mac osにPHP pearをインストールする

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 
+1

その行の対応する番号を押すと、ディレクトリを変更できます。 –

+0

thak私は1を選択し、/ opt/localをすべて正しくインストールしてください。 –

+0

あなたの質問が解決された場合は、私は以下のように答えることができます。 –

答えて

1

この行の対応する番号を押すと、ディレクトリを変更できます。

関連する問題