1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

MacにEthnaを入れる

Last updated at Posted at 2017-06-11

追記(2017/06/11):
この方法は非推奨とのことです。
PEARではなく、Composerを使用したインストール方法をお試しください。


MacにEthnaを入れるには、あらかじめPEARコマンドを扱える環境にする必要がある。
しかし、El Capitan や Sierra では以下のようにアクセス権限がないためインストールができない。
[php - Installing pecl and pear on OS X 10.11 El Capitan or macOS 10.12 Sierra - Stack Overflow]
(https://stackoverflow.com/questions/32893056/installing-pecl-and-pear-on-os-x-10-11-el-capitan-or-macos-10-12-sierra)

なので、こちらで PEARをインストールしてしまう。
sudo php /usr/lib/php/install-pear-nozlib.phar -d /usr/local/lib/php -b /usr/local/bin

Ethnaにも、sudoコマンドを用いてインストールしていく。

sudo pear channel-discover pear.ethna.jp
sudo pear install -a ethna/ethna```
1
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?