在mac os上安装php pear
如何更正instal pear for php。我将web服务器的所有内容存储在/opt/local中。 但pear希望安装到/Users/。如何更改此文件夹在mac os上安装php pear,php,macos,pear,Php,Macos,Pear,如何更正instal pear for php。我将web服务器的所有内容存储在/opt/local中。 但pear希望安装到/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 individ
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并设置/opt/local all installed fine。好的,如果这解决了您的问题,我将其放置在下面作为答案,以便您可以将其标记为已接受。