Re: how to maintain PEAR on webhosting
| From: | Lubos Kmetko | Date: | Mon, 15 Dec 2003 22:29:48 +0000 |
| Subject: | Re: how to maintain PEAR on webhosting | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9541@lists.php.net to get a copy of this message | ||
Thank you for advice, this works fine.
Lubos
>
> You should install a local copy of PEAR for yourself. The easiest way
> to do this is to call the pear command once as follows:
>
> pear -s -c ~/.pearrc -d doc_dir=~/pear/docs -d ext_dir=~/pear/ext -d
> php_dir=~/pear/lib -d data_dir=~/pear/data -d test_dir=~/pear/tests -d
> cache_dir=~/pear/cache -d bin_dir=~/pear/bin
>
> Then, if you add ~/pear/bin to your path as the first entry in .bashrc
> (or whatever your startup file is), and run the command:
>
> pear -c ~/.pearrc install Archive_Tar PEAR Console_Getopt
>
> you will have access to your own local copy of PEAR.
>
> Greg
>