Re: Is it possible to have more than one pear folder?!
| From: | David Sanders | Date: | Wed, 22 Nov 2006 01:53:19 +0000 |
| Subject: | Re: Is it possible to have more than one pear folder?! | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25901@lists.php.net to get a copy of this message | ||
I set up a pear directory for each project. In the past I've had issues with using a communal pear when updating packages that have BC breaks.
You need to at least change the php_dir config setting, but I also change the doc_dir and data_dir settings as well.
pear config-set php_dir /path/to/your/website/pear
The necessary packages and registry files will then be installed into this directory.
Sina Salek wrote:
Hi, I have a framework and i want to use pear as part of it. my websites are in share hosting so in case i needed to debug some packages (and can't wait until pear developers apply my debug to the main source), it's not possible to change main pear because server admin won't let me. so i want to upload my own pear inside my account (public_html or root) folder on the server and use like it's the only pear exists on the server. is it possible? Best Regards - Sina Salek