For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > November 2006 > Re: [PEAR] Is it possible to have more than one pear folder?!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Is it possible to have more than one pear folder?!
Justin Patrin

2006-11-22, 6:59 pm

On 11/21/06, David Sanders <dsanders@baselinesolutions.com.au> wrote:
> 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.


And then you change your include_path in a .htaccess, php.ini, or in
your code (set_include_path()).

>
> Sina Salek wrote:
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



--
Justin Patrin
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com