ID: 31116 Updated by: [EMAIL PROTECTED] Reported By: michael dot polivanov at ecetra dot com Status: Open Bug Type: *General Issues Operating System: Linux PHP Version: 4.3.10 New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [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