Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having some PEAR issues which I assume to be PEAR/MAMP configuration related:

Therefore I would like to reset the PEAR configuration to default values.

Any suggestions on how to do this?

share|improve this question
up vote 1 down vote accepted

after some digging, the solution is the following:

check where your configuration files are located:

pear config-show

in my case:

  • User Configuration File: /Users/udos/.pearrc
  • System Configuration File: /private/etc/pear.conf

you can edit PEAR configuration with command

pear config-set [options] <parameter> <value> [layer]

the interesting part is [layer]. the default is user which affects

  • User Configuration File: /Users/udos/.pearrc

alternatively you can use system which affects

  • System Configuration File: /private/etc/pear.conf

to reset PEAR configuration you have to delete both configuration files.

share|improve this answer

Your Answer


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.