mac php pear,Mac中安装php-pear

czhdeMacBook-Pro:~ czh$ sudo php -d detect_unicode=0

go-pear.phar

Password:

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)

:

/usr/local/Cellar/php70/7.0.14_7

2. Temporary directory for processing

:

/tmp/pear/install

3. Temporary directory for downloads

:

/tmp/pear/install

4. Binaries directory

: /usr/local/Cellar/php70/7.0.14_7/bin

5. PHP code directory ($php_dir)

:

/usr/local/Cellar/php70/7.0.14_7/share/pear

6. Documentation directory

: /usr/local/Cellar/php70/7.0.14_7/docs

7. Data directory

:

/usr/local/Cellar/php70/7.0.14_7/data

8. User-modifiable configuration files

directory : /usr/local/Cellar/php70/7.0.14_7/cfg

9. Public Web Files directory

: /usr/local/Cellar/php70/7.0.14_7/www

10. System manual pages directory

: /usr/local/Cellar/php70/7.0.14_7/man

11. Tests directory

: /usr/local/Cellar/php70/7.0.14_7/tests

12. Name of configuration file

:

/usr/local/etc/php/7.0/pear.conf

1-12, 'all' or Enter to continue: 1

(Use $prefix as a shortcut for

'/usr/local/Cellar/php70/7.0.14_7', etc.)

Installation base ($prefix) [/usr/local/Cellar/php70/7.0.14_7] :

/usr/local/pear

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)

:

/usr/local/pear

2. Temporary directory for processing

:

/tmp/pear/install

3. Temporary directory for downloads

:

/tmp/pear/install

4. Binaries directory

: /usr/local/pear/bin

5. PHP code directory ($php_dir)

:

/usr/local/pear/share/pear

6. Documentation directory

: /usr/local/pear/docs

7. Data directory

:

/usr/local/pear/data

8. User-modifiable configuration files

directory : /usr/local/pear/cfg

9. Public Web Files directory

: /usr/local/pear/www

10. System manual pages directory

: /usr/local/pear/man

11. Tests directory

: /usr/local/pear/tests

12. Name of configuration file

:

/usr/local/etc/php/7.0/pear.conf

1-12, 'all' or Enter to continue: 4

(Use $prefix as a shortcut for '/usr/local/pear', etc.)

Binaries directory [$prefix/bin] : /usr/local/bin

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)

:

/usr/local/pear

2. Temporary directory for processing

:

/tmp/pear/install

3. Temporary directory for downloads

:

/tmp/pear/install

4. Binaries directory

: /usr/local/bin

5. PHP code directory ($php_dir)

:

/usr/local/pear/share/pear

6. Documentation directory

: /usr/local/pear/docs

7. Data directory

:

/usr/local/pear/data

8. User-modifiable configuration files

directory : /usr/local/pear/cfg

9. Public Web Files directory

: /usr/local/pear/www

10. System manual pages directory

: /usr/local/pear/man

11. Tests directory

: /usr/local/pear/tests

12. Name of configuration file

:

/usr/local/etc/php/7.0/pear.conf

1-12, 'all' or Enter to continue:

Beginning install...

Configuration written to /usr/local/etc/php/7.0/pear.conf...

Initialized registry...

Preparing to install...

installing

phar:///Users/czh/go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.4.2.tar...

installing

phar:///Users/czh/go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.4.1.tar...

installing

phar:///Users/czh/go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.10.4.tar...

installing

phar:///Users/czh/go-pear.phar/PEAR/go-pear-tarballs/Structures_Graph-1.1.1.tar...

installing

phar:///Users/czh/go-pear.phar/PEAR/go-pear-tarballs/XML_Util-1.4.2.tar...

install ok: channel://pear.php.net/Archive_Tar-1.4.2

install ok: channel://pear.php.net/Console_Getopt-1.4.1

install ok: channel://pear.php.net/Structures_Graph-1.1.1

install ok: channel://pear.php.net/XML_Util-1.4.2

install ok: channel://pear.php.net/PEAR-1.10.4

PEAR: Optional feature webinstaller available (PEAR's web-based

installer)

PEAR: Optional feature gtkinstaller available (PEAR's

PHP-GTK-based installer)

PEAR: Optional feature gtk2installer available (PEAR's

PHP-GTK2-based installer)

PEAR: To install optional features use "pear install

pear/PEAR#featurename"

******************************************************************************

WARNING!  The include_path defined in the

currently used php.ini does not

contain the PEAR PHP directory you just specified:

If the specified directory is also not in the include_path used

by

your scripts, you will have problems getting any PEAR packages

working.

Would you like to alter php.ini ? [Y/n] : Y

php.ini include_path updated.

Current include path

: .:

Configured directory

:

/usr/local/pear/share/pear

Currently used php.ini (guess) :

/usr/local/etc/php/7.0/php.ini

Press Enter to continue:

The 'pear' command is now at your service at

/usr/local/bin/pear

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值