#48603 [Com]: Installing PHP with PEAR support causes installation error
| From: | mlavi at sgi dot com | Date: | Mon, 22 Jun 2009 23:49:53 +0000 |
| Subject: | #48603 [Com]: Installing PHP with PEAR support causes installation error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-138674@lists.php.net to get a copy of this message | ||
ID: 48603
Comment by: mlavi at sgi dot com
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:
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
Previous Comments:
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
[2009-06-22 05:53:11] filebackup at 126 dot com
me too.
centos5.3 x86_64
------------------------------------------------------------------------
[2009-06-21 09:36:18] linux at acoustype dot com
The same error is given to me.
make OK
make install NG
same error
can't install
but
--without-pear
make install OK
CentOS 5.3 32bit
------------------------------------------------------------------------
[2009-06-19 11:08:16] manuel dot schmitt at manitu dot de
Description:
------------
Installing PHP 5.2.10 with PEAR enabled causes the following error:
Fatal error: Error: cannot open phar
"/home/redhat/BUILD/php-5.2.10/pear/install-pear-nozlib.phar" in
/home/redhat/BUILD/php-5.2.10/pear/install-pear-nozlib.phar on line 795
Reproduce code:
---------------
Configure PHP 5.2.10 with PEAR, build and install it.
Our configure options are:
./configure \
--prefix=/usr/local/php5 \
--with-config-file-path=/usr/local/php5/etc \
--with-apxs=/usr/sbin/apxs \
--disable-debug \
--enable-bcmath \
--enable-calendar \
--enable-ctype \
--enable-dbase \
--enable-exif \
--enable-ftp \
--enable-force-cgi-redirect \
--enable-mbstring \
--enable-pdo \
--enable-session \
--enable-soap \
--enable-sockets \
--enable-sqlite-utf8 \
--enable-track-vars \
--enable-wddx \
--enable-zip \
--with-bz2 \
--with-curl \
--with-curlwrappers \
--with-dom \
--with-dom-xslt \
--with-freetype-dir \
--with-gd \
--with-gettext=/usr \
--with-imagemagick \
--with-jpeg-dir \
--with-ldap \
--with-mysql \
--with-openssl \
--with-pcre-regex \
--with-pear \
--with-pdo-mysql \
--with-pdo-sqlite \
--with-pdo-sqlite2 \
--with-png-dir \
--with-ttf \
--with-xslt \
--with-xsl \
--with-zlib
Expected result:
----------------
PEAR should be installed correctly.
Actual result:
--------------
The error described above
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=48603&edit=1