Re: Re: go-pear question

From: Date: Tue, 26 Oct 2004 21:05:22 +0000
Subject: Re: Re: go-pear question
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15140@lists.php.net to get a copy of this message
Greg Beaver wrote: > Steven wrote: > >>I do have shell access to the remote host, so I am interested to see how >>I can use that to set up and or manage pear. TIA, > > first test is to run this command: > > $ pear -V > > and see if you successfully get output. I get this: Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/lib/php/pearcmd.php on line 31 PEAR Version: 1.3b3 PHP Version: 4.3.4 Zend Engine Version: 1.3.0 > Next, try > > $ pear list I get: Warning: set_time_limit(): Cannot set time limit in safe mode in /usr/local/lib/php/pearcmd.php on line 31 Installed packages: =================== Package Version State Archive_Tar 1.1 stable Console_Getopt 1.0 stable DB 1.5.0RC2 stable HTTP 1.2.1 stable Mail 1.1.1 stable Net_SMTP 1.2.3 stable Net_Socket 1.0.1 stable PEAR 1.3b3 beta XML_Parser 1.0.1 stable XML_RPC 1.0.4 stable > if those work fine, chances are, you can do this extremely long command. > > Assumptions before we start: > 1) your ~ is /home/username > 2) you want PEAR to be in ~/pear In my case the structure is like this: ~ is /opt/username in ~ there is a link named DOMAIN pointing to "/opt/guide/www.domain.com/" So ~/DOMAIN is /optguide/www.domain.com this directory contains the HTML, ftp, includes and the planned pear/PEAR directories So the path to the PEAR directory is: /opt/guide/www.domain.com/pear/PEAR Can I just replace /home/username in your command with /optguide/www.domain.com ? Steven

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