MAC に PEAR をインストールする方法を教えてもらえますか?
試行 1:
curl http://pear.php.net/go-pear | sudo php
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 88959 100 88959 0 0 70283 0 0:00:01 0:00:01 --:--:-- 200k
Sorry! Your PHP version is too new (5.3.8) for this go-pear.
Instead use http://pear.php.net/go-pear.phar for a more stable and current
version of go-pear, more suited to your PHP version.
Thank you for your coopertion and sorry for the inconvenience!
試行 2:
curl http://pear.php.net/go-pear.phar | sudo php
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3594k 100 3594k 0 0 1150k 0 0:00:03 0:00:03 --:--:-- 1351k
Warning: Phar::mapPhar(-): failed to open stream: No such file or directory in - on line 1119
unable to open phar for reading "-"
Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: phar error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in - on line 1236
試行 3 ( http://sudhanshuraheja.com/2011/03/installing-php-pear-on-mac-osx-10-6-with-php-5-3-3/から):
curl http://pear.php.net/go-pear.phar > go-pear.phar
-bash: go-pear.phar: Permission denied
phpUnit をインストールしようとしていますが、pear がないとできません。