Re: how to maintain PEAR on webhosting

From: Date: Mon, 15 Dec 2003 17:44:38 +0000
Subject: Re: how to maintain PEAR on webhosting
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9533@lists.php.net to get a copy of this message
Hi 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 Lubos Kmetko wrote:
Hi, I have shell on my webhosting server, PEAR is installed there (probably basic installation with PHP), so I can run pear help command, but cannot run pear info etc., I get error message - could not create lock file: failed to open stream: Permission denied. Probably this is normal as I don't have root access, but what to do in such situation? Should I always ask admin to install/upgrade packages for me? Lubos


« previous php.pear.general (#9533) next »