Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

note:
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

 
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.