Bug#329415: [php-maint] Bug#329415: php-pear: /usr/bin/pear calls
'php' but should call /usr/bin/php
adconrad at 0c3.net
Wed Sep 21 18:30:05 UTC 2005
Uwe Steinmann wrote:
> /usr/bin/php calls 'php' unless one sets $PHP_PEAR_PHP_BIN. If
> somebody like me has as second php installation in /usr/local/php5-cvs
> whose bin directory is before /usr/bin in the PATH, /usr/bin/pear
> will call /usr/local/php5-cvs/bin/php which may screw things up.
In practice, one hopes that this shouldn't mess up (calling /usr/bin/php
is already asking for either php4 or php5, this was intentional, and
should always work, so I'd hope your php5-cvs would also work), but
you're right that, in theory, we should only be calling packaged
binaries. This will be fixed in the next upload.
More information about the pkg-php-maint