Re: pear install on shared host fails due to hard-coded temp-dir paths in .phar files

From: Date: Sun, 31 May 2009 12:53:21 +0000
Subject: Re: pear install on shared host fails due to hard-coded temp-dir paths in .phar files
References: 1  Groups: php.pear.general php.pear.core 
Request: Send a blank email to pear-core+get-8451@lists.php.net to get a copy of this message
On Sat, May 30, 2009 at 8:58 PM, PGNet Dev <pgnet.dev+php@gmail.com<pgnet.dev%2Bphp@gmail.com> > wrote: > > if i simply, > > cd php-src/pear > wget http://pear.php.net/go-pear.phar > php go-pear.phar > > i'm offered, > > 1. Installation base ($prefix) : /home/pgn/pear > 2. Temporary directory for processing : /tmp/pear/install > 3. Temporary directory for downloads : /tmp/pear/install > 4. Binaries directory : /home/pgn/pear/bin > 5. PHP code directory ($php_dir) : > /home/pgn/pear/share/pear > 6. Documentation directory : /home/pgn/pear/docs > 7. Data directory : /home/pgn/pear/data > 8. User-modifiable configuration files directory : /home/pgn/pear/cfg > 9. Public Web Files directory : /home/pgn/pear/www > 10. Tests directory : /home/pgn/pear/tests > 11. Name of configuration file : /home/pgn/.pearrc > > note, again, the hard_coded /tmp > > changing > > [1] /home/pgn/pear --> /home/pgn > [2] /tmp/pear/install --> /home/pgn/tmp/pear/install > [3] /tmp/pear/install --> /home/pgn/tmp/pear/install > > then continuing, > > The 'pear' command is now at your service at /home/pgn/bin/pear > > and, as expected, > > ls -al which pear > -rwxr-xr-x 1 pgn pgn 833 2009-05-30 18:03 /home/pgn/bin/pear > pear version > Version: 1.8.0 > PHP Version: 5.2.9 > Zend Engine Version: 2.2.0 > Running on: Linux trubadour 2.6.28.4-xeon-serf-areca-grsec > #1 SMP > Fri Jan 13 22:01:42 PST 2009 x86_64 > > is there a configuration/workaround for this? or, in need of a fix? > I don't understand... didn't this method succeed? Or, is your more precise question actually "why can't I configure tmp_dir when I try to include the PEAR installation with the PHP build"? (copying to pear-general, since I think that's where the question needs to go) -- CRB

« previous php.pear.core (#8451) next »