#27398 [Ver->Csd]: Installing PEAR (go-pear.bat) causes Application Error
| From: | pajoye@php.net | Date: | Fri, 05 Mar 2004 21:54:50 +0000 |
| Subject: | #27398 [Ver->Csd]: Installing PEAR (go-pear.bat) causes Application Error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55970@lists.php.net to get a copy of this message | ||
ID: 27398
Updated by: pajoye@php.net
Reported By: WPinegar at healthtech dot net
-Status: Verified
+Status: Closed
Bug Type: Zend Engine 2 problem
Operating System: *
PHP Version: 5CVS-2004-02-26
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2004-02-26 15:28:34] patrick dot schnorbus at tuxcenter dot net
PEAR support seems to be totally broken in current CVS.
The this happend somewhere between the 200402241430 and
200402251630 snaps (200402241430 was the last with working
PEAR).
aries:/usr/src/php5-200402261630# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/
local/apache2/build/libtool' libphp5.la /usr/local/
apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool
--finish /usr/src/php5-200402261630/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/
httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
Fatal error: Declaration of PEAR_Installer::download()
must be compatible with that of
PEAR_Downloader::download() in /usr/src/php5-200402261630/
pear/PEAR/Installer.php on line 49
make[1]: *** [install-pear-installer] Fehler 255
make: *** [install-pear] Fehler 2
aries:/usr/src/php5-200402261630# export LC_ALL=C
aries:/usr/src/php5-200402261630# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/
local/apache2/build/libtool' libphp5.la /usr/local/
apache2/modules
/usr/local/apache2/build/libtool --mode=install cp
libphp5.la /usr/local/apache2/modules/
cp .libs/libphp5.so /usr/local/apache2/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la
libtool: install: warning: remember to run `libtool
--finish /usr/src/php5-200402261630/libs'
chmod 755 /usr/local/apache2/modules/libphp5.so
[activating module `php5' in /usr/local/apache2/conf/
httpd.conf]
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
Fatal error: Declaration of PEAR_Installer::download()
must be compatible with that of
PEAR_Downloader::download() in /usr/src/php5-200402261630/
pear/PEAR/Installer.php on line 49
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
Installing PHP5 without PEAR works.
--
Pat
------------------------------------------------------------------------
[2004-02-25 23:41:06] sniper@php.net
Here's the callstack when you run go-pear.bat:
zend_fetch_obj_w_handler(_zend_execute_data * 0x0012f788, _zend_op *
0x015985c8, _zend_op_array * 0x01595ad8, void * * * 0x00972980) line
2044 + 12 bytes
execute(_zend_op_array * 0x01595ad8, void * * * 0x00972980) line 1339 +
23 bytes
zend_do_fcall_common_helper(_zend_execute_data * 0x0012f910, _zend_op *
0x015995c8, _zend_op_array * 0x01594868, void * * * 0x00972980) line
2675 + 34 bytes
zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012f910, _zend_op
* 0x015995c8, _zend_op_array * 0x01594868, void * * * 0x00972980) line
2757 + 21 bytes
execute(_zend_op_array * 0x01594868, void * * * 0x00972980) line 1339 +
23 bytes
zend_do_fcall_common_helper(_zend_execute_data * 0x0012fa98, _zend_op *
0x00c1fd88, _zend_op_array * 0x00a9f818, void * * * 0x00972980) line
2675 + 34 bytes
zend_do_fcall_by_name_handler(_zend_execute_data * 0x0012fa98, _zend_op
* 0x00c1fd88, _zend_op_array * 0x00a9f818, void * * * 0x00972980) line
2757 + 21 bytes
execute(_zend_op_array * 0x00a9f818, void * * * 0x00972980) line 1339 +
23 bytes
zend_execute_scripts(int 8, void * * * 0x00972980, _zval_struct * *
0x00000000, int 3) line 1041 + 34 bytes
php_execute_script(_zend_file_handle * 0x0012ff48, void * * *
0x00972980) line 1650 + 27 bytes
main(int 3, char * * 0x00972580) line 941 + 17 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77e814c7()
------------------------------------------------------------------------
[2004-02-25 16:12:40] WPinegar at healthtech dot net
Description:
------------
While attempting to install PEAR via the command go-pear.bat (found in
the \PHP directory) I received an application error in php.exe module
php5ts.dll and PEAR does not extract properly.
Reproduce code:
---------------
Attempt to install PEAR via the command line utility go-pear.bat. You
will receive an application error and PEAR will not extract properly.
Expected result:
----------------
PEAR should extract and install correctly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27398&edit=1