Jan 7th, 2013
Trying to get PEAR to run with MAMP 2 will result in the following error by default:
Notice: unserialize(): Error at offset 276 of 1133 bytes in Config.php on line 1050 ERROR: The default config file is not a valid config file or is corrupted.
To Fix, open up /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf, search for:
"php_dir";s:44
Replace with:
"php_dir";s:43