php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27398 Installing PEAR (go-pear.bat) causes Application Error
Submitted: 2004-02-25 16:12 UTC Modified: 2004-03-05 16:54 UTC
Votes:3
Avg. Score:3.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: WPinegar at healthtech dot net Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 5CVS-2004-02-26 OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: WPinegar at healthtech dot net
New email:
PHP Version: OS:

 

 [2004-02-25 16:12 UTC] 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.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-25 23:41 UTC] 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-26 15:28 UTC] 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-03-05 16:54 UTC] pajoye@php.net
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.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Aug 16 02:00:03 2025 UTC