From: ("")
Date:  04 Jan 2017 20:25:20 Hong Kong Time

[PEAR-BUG] Bug #20383 [Com]: Files written outside INSTALL_ROOT install

NNTP-Posting-Host:  null

Edit report at

 ID:               20383
 Comment by:
 Reported By:      phpbug at monumentmail dot com
 Summary:          Files written outside INSTALL_ROOT install
 Status:           Open
 Type:             Bug
 Package:          PEAR
 Operating System: Linux
 Package Version:  Unknown
 PHP Version:      5.6.16
 Roadmap Versions: 
 New Comment:

It is not only making .channels .depdb .filemap .registry files at the
root directory of INSTALL_ROOT but also making those files at
prefix/lib/php directory too.

$ rm -rf /usr/local/lib/php
$ make INSTALL_ROOT=/home/... install
$ ls -a /usr/local/lib/php
.  ..  .channels  .depdb  .depdblock  .filemap  .lock  .registry

Previous Comments:

[2017-01-04 06:50:03] jam7

php-7.1.0 still has the identical bug.


[2015-12-16 04:07:36] phppearbug

-PHP Version: 5.6.0
+PHP Version: 5.6.16


[2015-12-16 04:03:47] phppearbug

No change an still bugged in PHP 5.6.16.


[2015-01-31 11:33:53] phppearbug

No change an still bugged in PHP 5.6.5.


[2014-09-01 18:39:31] phppearbug

And a second follow up.
I replaced the 'runtime' components in phar file with the contents of
the tar files which were included in the phar.
So, in effect, making an installer using the 1.9.5 version of PEAR, and
versions of Tar and friends which were in the phar, as noted in my
original report as a thing to try.

I still obviously used patch1.patch to get one of the 2 surplus
databases gone, but unfortunately, using 1.9.5 fixed nothing.
The other surplus database was still there in $HOME/php/


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

Edit this bug report at