Install system-wide PEAR on Debian Lenny

Posted by artvolk on Server Fault See other posts from Server Fault or by artvolk
Published on 2010-03-31T06:07:34Z Indexed on 2010/03/31 6:13 UTC
Read the original article Hit count: 547

Filed under:
|
|
|

Good day!

I've installed PEAR on Debian Lenny using apt-get install php-pear, it was installed in /usr/share/php

When I try to install anything using pear install <package> the PEAR folder is created under current user home directory and separate copy of pear is installed there.

I ended up by installing local copy of PEAR for one of the users like this: http://kuziel.info/log/archives/2006/04/01/Installation-of-local-PEAR-repository

Is any way to tell pear to install packages to system-wide repository in /usr/share/php? What is the recommended way of using system-wide PEAR copy?

Thanks in advance!

© Server Fault or respective owner

Related posts about php

Related posts about pear