MAMPでpearコマンドが使えない
pearコマンドを使おうとすると下記エラーが出てしまう。
---------------------------------------------------------------------------------------
Notice: unserialize(): Error at offset 267 of 1133 bytes in Config.php on line 1050
Notice: unserialize(): Error at offset 267 of 1133 bytes in /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Config.php on line 1050
ERROR: The default config file is not a valid config file or is corrupted.
---------------------------------------------------------------------------------------
■解決方法
/Applications/MAMP/bin/php/php5.3.6/conf/pear.conf
を削除またはリネームして再度実行。