From: michael dot polivanov at ecetra dot com
Operating system: Linux
PHP version: 4.3.10
PHP Bug Type: *General Issues
Bug description: Pear not working after update to 4.3.10
Description:
------------
I upgraded PHP 4.3.8 to 4.3.10 and my pear (binary) is not working
anymore. Execution of /usr/bin/pear leads to
Warning: Illegal offset type in Common.php on line 91
Warning: Illegal offset type in Common.php on line 108
(repeats about 20 times)
last line
PHP Fatal error: Cannot instantiate non-existent class:
pear_frontend_cli in /usr/share/pear/PEAR/Command.php on line 144
There were no error during compilation of PHP
Apache version is 2.0.50
PHP configuration string:
./configure \
--prefix=%{_installprefix} \
--sysconfdir=/etc/httpd/conf \
--with-apxs2filter \
--with-config-file-path=%{_sysconfdir}/httpd/conf \
--with-config-file-scan-dir=%{_sysconfdir}/httpd/conf/php.d \
--disable-debug \
--with-curl=shared \
--with-mysql=shared \
--without-pgsql \
--without-oracle \
--with-oci8=shared,/opt/oracle/product/9.2.0 \
--with-openssl=/usr \
--with-mcrypt=shared,/usr \
--with-mhash=shared,/usr \
--with-mm=shared \
--with-ldap=shared \
--with-bz2 \
--enable-inline-optimization \
--with-gettext \
--with-png \
--with-gd \
--with-freetype-dir \
--with-png-dir \
--enable-track-vars \
--enable-wddx \
--with-ttf \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-safe-mode \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--with-xml \
--with-sablot=/usr/lib \
--with-expat=/usr/lib \
--with-pear=%{_datadir}/pear \
--with-ncurses \
--with-regex=system \
--with-jpeg-dir=/usr \
--enable-memory-limit \
--disable-rpath \
--without-dba \
--without-imap \
--with-kerberos=/usr/kerberos \
--with-db4 \
--enable-pic \
--with-gmp \
--with-iconv \
--enable-bcmath \
--enable-exif \
--enable-discard-path \
--enable-trans-sid \
--enable-versioning \
--enable-dbx \
--enable-dio \
--enable-mcal \
--enable-calendar \
--enable-shmop \
--with-zlib \
--with-dom \
--with-pcre-regex
installprefix = /usr
datadir = /usr/share
sysconfdir = /etc
Reproduce code:
---------------
Just execute pear binary without options
--
Edit bug report at http://bugs.php.net/?id=31116&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31116&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31116&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31116&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31116&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31116&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31116&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31116&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31116&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31116&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31116&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31116&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31116&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31116&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31116&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31116&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31116&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31116&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31116&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31116&r=mysqlcfg