#31116 [Opn->Fbk]: Pear not working after update to 4.3.10

From: Date: Thu, 16 Dec 2004 21:15:06 +0000
Subject: #31116 [Opn->Fbk]: Pear not working after update to 4.3.10
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70404@lists.php.net to get a copy of this message
 ID:               31116
 Updated by:       iliaa@php.net
 Reported By:      michael dot polivanov at ecetra dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: Linux
 PHP Version:      4.3.10


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

[2004-12-16 17:30:43] gui@php.net

Are you using an opcode cache/optimizer such as Zend's one?

If so, please upgrade to the last version. Older version of the
optimizer might cause strange behaviours, as seen on :

http://bugs.php.net/bug.php?id=30914

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

[2004-12-16 15:53:38] hidden at nomail dot com

same problem on redhat-7.3, apache_1.3.33 (selfbuild), with Horde/IMP,
Gallery(.sf.net), ...

"Warning: Illegal offset type in x.php on line 27"
27: if (!empty($HTTP_GET_VARS[$sensitive]) ||

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

[2004-12-16 11:43:49] skippy at zuavra dot net

I can confirm the exact same behaviour, only on a RH 7.3 system with
Apache 1.3.33. I've narrowed it down to the php CLI binary itself.
Using the one from 4.3.9 pear works, using 4.3.10 fails with this
error.

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

[2004-12-16 11:17:06] michael dot polivanov at ecetra dot com

OS is Redhat EL ES 3 Update 2

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

[2004-12-16 11:13:45] michael dot polivanov at ecetra dot com

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 this bug report at http://bugs.php.net/?id=31116&edit=1


Thread (7 messages)

« previous php.bugs (#70404) next »