php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49682 Pear broken in php 5.2.11
Submitted: 2009-09-26 18:58 UTC Modified: 2010-12-20 12:48 UTC
Votes:10
Avg. Score:3.8 ± 0.9
Reproduced:8 of 10 (80.0%)
Same Version:8 (100.0%)
Same OS:1 (12.5%)
From: kr_krack at yahoo dot com Assigned: dufuz (profile)
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.2.11 OS: Ubuntu 8.04 LTS
Private report: No CVE-ID: None
 [2009-09-26 18:58 UTC] kr_krack at yahoo dot com
Description:
------------
I just compiled php 5.2.11, it seems that pear is broken again in this version, like in php 5.2.10.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Warning: Cannot use a scalar value as an array in phar://install-pear-nozlib.pha 

Reproduce code:
---------------
I used the following param:


./configure -prefix=/usr/local --disable-rpath --disable-ipv6 
--disable-pdo --disable-debug --with-zend-vm=GOTO 
--with-jpeg-dir=/usr --with-png-dir=/usr --with-mysql=/usr 
--with-fpm-pid=/var/run/php-fpm.pid --with-fpm-log=/etc/php-fpm/php-fpm.log 
--with-fpm-conf=/etc/php-fpm/php-fpm.conf --with-curl=/usr --with-bz2=/usr 
--with-gd --with-zlib-dir=/usr --with-pcre-regex --with-openssl-dir=/usr 
--with-gettext --with-xmlrpc --with-libmbfl --with-pspell --with-tidy=/usr 
--with-mhash --with-freetype-dir=/usr --with-xsl=/usr --with-mcrypt=/usr 
--enable-fastcgi --enable-sqlite-utf8 --with-fpm --enable-mbstring 
--enable-inline-optimization --enable-xml --enable-sockets 
--enable-pcntl=shared --enable-mbregex --enable-zip --enable-gd-native-ttf 
--enable-cli --enable-calendar 




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-09-27 02:54 UTC] jani@php.net
Assigned to the PEAR maintainer.
 [2009-10-27 07:14 UTC] jcua at shaw dot ca
I have the same errors compiling php5.2.11 on centos 5.4 with apache 2.2.14

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-10-27 12:20 UTC] cellog@php.net
Pierre:  I have a newborn, I reassigned this to dufuz because I won't have time to fix this in any reasonable timeframe
 [2009-10-28 16:14 UTC] saltybeagle@php.net
Have you tried the latest install-pear-nozlib.phar? Available here: http://pear.php.net/install-pear-nozlib.phar


 [2009-10-28 16:32 UTC] till@php.net
Hey guys, 

please confirm the following:

./configure -prefix=/till-test --disable-rpath --disable-ipv6 --
disable-pdo --disable-debug --with-bz2=/usr --with-zlib-dir=/usr --
with-pcre-regex --with-mhash --with-xsl=/usr --with-mcrypt=/usr --
enable-mbstring --enable-inline-optimization --enable-xml --enable-
sockets --enable-mbregex --enable-zip --enable-cli
make
make install

It started working when I removed --with-zend-vm=GOTO.

Thanks,
Till
 [2009-10-28 16:37 UTC] till@php.net
For the sake of completeness:

root@always:~/php-5.2.11# make install
Installing PHP SAPI module:       cgi
Installing PHP CGI binary: /till-test/bin/
Installing PHP CLI binary:        /till-test/bin/
Installing PHP CLI man page:      /till-test/man/man1/
Installing build environment:     /till-test/lib/php/build/
Installing header files:          /till-test/include/php/
     Installing helper programs:       /till-test/bin/
  program: phpize
   program: php-config
Installing man pages:             /till-test/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /till-test/lib/php/
[PEAR] Archive_Tar    - already installed: 1.3.3
[PEAR] Console_Getopt - already installed: 1.2.3
[PEAR] Structures_Graph- already installed: 1.0.2
[PEAR] XML_Util       - already installed: 1.2.1
[PEAR] PEAR           - already installed: 1.8.0
Wrote PEAR system config file at: /till-test/etc/pear.conf
You may want to add: /till-test/lib/php to your php.ini include_path


I used php-5.2.11 from php.net. No additional patches (fpm), etc..


 [2009-10-29 20:37 UTC] srinatar@php.net
see also bug#49578

this issue is not noticed with latest svn snapshot. suggest closing this as not reproducible with recent snapshots.
 [2009-11-06 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2010-12-20 12:48 UTC] jani@php.net
-Package: Tidy +Package: Scripting Engine problem
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 12:01:30 2024 UTC