I'm really in deep sh*t here. While running "pear install HTTP", my server get rebooted, when everything back, I continue my work, and...

$sudo pear install HTTP
ERROR: The default config file is not a valid config file or is corrupted.

$sudo pear list
ERROR: The default config file is not a valid config file or is corrupted.

$sudo pear 
ERROR: The default config file is not a valid config file or is corrupted.

I try aptitude purge php-pear, and even delete everything on /usr/share/php/ and install php-pear again, but the error still persist.

Oops... what did happen?

link|improve this question

50% accept rate
feedback

2 Answers

Had this error on Mac with MAMP. For me deleting .../MAMP/bin/php/php5.3.6/conf/pear.conf helped.

link|improve this answer
feedback

Deleting .pearrc on the home directories shall fix this problems. --Thanks God.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.