Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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