#48603 [Com]: Installing PHP with PEAR support causes installation error

[email protected] ("no at email dot pl")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               48603
 Comment by:       no at email dot pl
 Reported By:      manuel dot schmitt at manitu dot de
 Status:           Open
 Bug Type:         PHAR related
 Operating System: Linux 2.4
 PHP Version:      5.2.10
 New Comment:

The same errors on FreeBSD 7.2 stable amd64


Previous Comments:
------------------------------------------------------------------------

[2009-06-27 01:24:50] jd at cpanel dot net

Seems to be caused by the changes to curl to avoid serving file:// urls
when open_basedir or safe_mode are enabled combined with the
"--with-curlwrappers" option.  Disabling curlwrappers gets around the
"cannot open phar" problem.  You could also just force the
php_register_url_stream_wrapper() loop in ext/curl/interface.c to skip
the file protocol.

The "Cannot use a scalar value as an array" error seems to be an
unrelated problem with the PEAR bundle included with 5.2.10.

------------------------------------------------------------------------

[2009-06-22 23:57:40] mlavi at sgi dot com

Appears to be a duplicate of bugs: 48625 and 48650.
http://bugs.php.net/bug.php?id=48625
http://bugs.php.net/bug.php?id=48650

------------------------------------------------------------------------

[2009-06-22 23:49:53] mlavi at sgi dot com

Oddly, when I rebuilt PHP without any extensions: ./configure
--prefix=/data/temp, I do get PEAR installed with warnings:

Installing PEAR environment:      /data/temp/lib/php/

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1391

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1396

Warning: Cannot use a scalar value as an array in
phar://install-pear-nozlib.phar/PEAR/ChannelFile.php on line 1400

------------------------------------------------------------------------

[2009-06-22 23:30:23] mlavi at sgi dot com

Reproduced error on: SLES 10.1 = SUSE Linux Enterprise Server 10
(x86_64)

------------------------------------------------------------------------

[2009-06-22 13:51:03] bubi at malinator dot com

Me too. Downgraded to 5.2.9.
2.6.16-1.2096_FC5 x86_64

------------------------------------------------------------------------

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
    http://bugs.php.net/48603

-- 
Edit this bug report at http://bugs.php.net/?id=48603&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.