PHP Bugs  
php.net | support | documentation | report a bug | advanced search | search howto | statistics | login

go to bug id or search bugs for  

Bug #31116 Pear not working after update to 4.3.10
Submitted:16 Dec 2004 11:13am UTC Modified: 17 Dec 2004 10:52am UTC
From:michael dot polivanov at ecetra dot com Assigned to:
Status:Closed Category:*General Issues
Version:4.3.10 OS:Linux
Votes:7 Avg. Score:5.0 ± 0.0 Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%) Same OS:2 (50.0%)
View/Vote Developer Edit Submission

Welcome! If you don't have a SVN account, you can't do anything here. You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
SVN Username: SVN Password:
Quick Fix:
Status: Assign to:
Category:
Summary:
From: michael dot polivanov at ecetra dot com
New email:
Version: OS:
New/Additional Comment:

[16 Dec 2004 11:13am UTC] 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

[16 Dec 2004 11:17am UTC] michael dot polivanov at ecetra dot com
OS is Redhat EL ES 3 Update 2
[16 Dec 2004 11:43am UTC] 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.
[16 Dec 2004 3:53pm UTC] 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]) ||
[16 Dec 2004 5:30pm UTC] 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
[17 Dec 2004 10:52am UTC] michael dot polivanov at ecetra dot com
I removed the ZPS configuration from php.ini and this solved the
problem. 

Thank you!

I will contact Zend regarding this problem, cause i am already using the
most up2date version of ZPS - 4.0.2

Kr,
-michael

RSS feed | show source 

PHP Copyright © 2001-2009 The PHP Group
All rights reserved.
Last updated: Sat Nov 21 10:30:49 2009 UTC