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 running Raspbian on my Pi and have installed PHP-pear, I have some software that requires PHP-pear but is normally installed on a Fedora based machine so pear is normally found at /usr/share/pear

But the default install location for debian is /usr/share/php/PEAR Would it be possible to change the install location to /usr/share/pear ? I have tried creating a symbolic link from /usr/share/php/PEAR to /usr/share/pear but that dosnt seem to work (Still get an error in the software saying it failed to open required 'PEAR/command.php').

Any ideas would be great!

Pear was installed using

apt-get install php-pear

I had created the link using

ln -l /usr/share/php/PEAR /usr/share/pear

And the error the program gives:

"Fatal error: require_once(): Failed oepning required 'PEAR/Command.php' (include_path='.:/usr/share/pear')"

share|improve this question
Please include some more details. How did you install it? Which command did you use to create the symlink? WHat is the exact error? When do you get it? etc etc – terdon Jun 1 '13 at 19:13
Ok updated :) @terdon – Zac Powell Jun 1 '13 at 20:19

Your Answer


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

Browse other questions tagged or ask your own question.