Re: Installing local PEAR copy on shared host

From: Date: Tue, 23 Dec 2003 01:11:07 +0000
Subject: Re: Installing local PEAR copy on shared host
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9789@lists.php.net to get a copy of this message
On Mon, 22 Dec 2003 20:05:21 -0500 "David King" <dave@tech-king.com> wrote: > Problem: I can successfully install PEAR locally on a shared server > but I cannot figure how to administer it once it is installed. i.e. I > get the following errors > > %/home/myacccount/pear/bin/pear install XML_Tree > > downloading XML_Tree-1.1.tgz ... Starting to download XML_Tree-1.1.tgz > (4,826 bytes) .....done: 4,826 bytes failed to write > /usr/local/lib/php/XML/.tmpTree.php try to write to /usr/local/lib where you do not have access. > (I cannot get access to this directory) > > Details: > I am installing a local copy of pear for which I do not have access to > root or the system pear command. > > I performed the following steps per the doc page (ftp section) > http://pear.php.net/manual/en/installation.shared.php: > > > 1. mkdir /home/myacccount/pear (not accessible from http) > 2. chmod 777 /home/myacccount/pear > 3. mkdir /home/myacccount/www/installpear (accessible from http) > 4. cd /home/myacccount/pear > 5. lynx -source http://go-pear.org > go-pear.php > 6. cp go-pear.php /home/myacccount/www/installpear try php go-pear.php instead. > 7. (from browser) http://mydomain.com/installpear/go-pear.php However that should work, are you sure you set the right path for each field? > 8. This executes the install program.. which executes successfully > 9. Now /home/myacccount/pear contains the following directories: > drwxr-xr-x 2 nobody nobody 1024 Dec 22 16:28 bin > -rw-r--r-- 1 nobody nobody 2414 Dec 22 16:28 index.php > drwxr-xr-x 18 nobody nobody 1024 Dec 22 16:28 PEAR > -rw-r--r-- 1 nobody nobody 410 Dec 22 16:28 pear.conf > drwxr-xr-x 2 nobody nobody 1024 Dec 22 17:35 tmp Something missing here. HTML should be present as well plus 3 others folders. Check the path you entered in go-pear, or run it using the console (still require to fill the right path). hth pierre

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