Re: pear install on shared host fails due to hard-coded temp-dir paths in .phar files
| From: | PGNet Dev | Date: | Sun, 31 May 2009 13:45:57 +0000 |
| Subject: | Re: pear install on shared host fails due to hard-coded temp-dir paths in .phar files | ||
| References: | 1 2 | Groups: | php.pear.core |
| Request: | Send a blank email to pear-core+get-8452@lists.php.net to get a copy of this message | ||
> 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"?
the out-of-the-box installation faills when PEAR is included in the PHP build.
it fails with an error about missing perms for /tmp, with no
indication that that path -- unlike all other involved paths, which
use the ${prefix} parent -- is _hard_coded_ in the .phar.
once found, the readme in the pear/ dir suggests dl'ing an
install-phar file -- which doesn't exist. neither does manually
running the existing .phar. one has to DL go-pear.phar, and exec _it_
manually.
every other aspect of PHP build, and PEAR build for that matter, is ok
with non-root install ...