はじめてmampでpeclを入れる手順
peclをインストールするための手順
peclとはは下記を参照するとわかりやすいです。
http://dqn.sakusakutto.jp/2015/07/php_extension_pecl_phpize.html
2つに分断されたPHPの世界
PHPの世界では、ライブラリ配布方式が2つの世界に分断されてしまっています。
ライブラリの種類 配布サイト インストーラ
PHP言語で書かれたライブラリ Packagist (https://packagist.org/) Composer
C言語で書かれたライブラリ PECL (https://pecl.php.net/) pecl
peclのインストール先を指定する
peclをmampにインストールする際には、使用するphpのバージョンを指定する必要があります。
peclをインストールする際には、下記を参照
http://www.webcyou.com/?p=2216
/Applications/MAMP/bin/php/phpのバージョン/bin/pear install -a http://pear.php.net/get/インストールしたいパッケージ
サンプル
/Applications/MAMP/bin/php/php5.6.10/bin/pear install -a http://pear.php.net/get/Mail-1.2.0
インストールされているかの確認方法
/Applications/MAMP/bin/php/phpのバージョン/bin/pear list
Author And Source
この問題について(はじめてmampでpeclを入れる手順), 我々は、より多くの情報をここで見つけました https://qiita.com/hideno0110/items/91ec4d4df9c9fb34028e著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .