Wednesday, May 9, 2012

PEAR/PECL MAMP 2.x Error : Notice: unserialize()

When i run my pecl/pear from MAMP bin folder , i got error message : 
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 :
  • Remove the pear.conf in MAMP folder OR
  • Find pear.conf, edit and change the "php_dir";s:44 into "php_dir";s:43
Now pecl/pear can run without error.


source : http://forum.mamp.info/viewtopic.php?t=13815

No comments:

Post a Comment