ID: 35328
Updated by: nohn@php.net
Reported By: nohn@php.net
-Status: Feedback
+Status: Open
Bug Type: *General Issues
Operating System: Win32
-PHP Version: 5.1.0RC6
+PHP Version: 5.1.0RC7-dev
Assigned To: cellog
New Comment:
Also happens with php5.1-win32-200511231930:
C:\wamp\php>php -v
PHP 5.1.0RC7-dev (cli) (built: Nov 23 2005 20:23:38)
Copyright (c) 1997-2005 The PHP Group
Zend Engine v2.1.0-dev, Copyright (c) 1998-2005 Zend Technologies
C:\wamp\php>go-pear
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : C:\wamp\php
2. Binaries directory : C:\wamp\php
3. PHP code directory ($php_dir) : C:\wamp\php\pear
4. Documentation directory : C:\wamp\php\pear\docs
5. Data directory : C:\wamp\php\pear\data
6. Tests directory : C:\wamp\php\pear\tests
7. Name of configuration file : C:\WINDOWS\pear.ini
8. Path to CLI php.exe : C:\wamp\php\.
1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\WINDOWS\pear.ini...
Initialized registry...
Preparing to install...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.5.tar...
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/Archive_Tar-1.3.1
install ok: channel://pear.php.net/Console_Getopt-1.2
Warning:
PEAR_Installer_Role::require_once(PEAR/Installer/Role/Php.php): failed
to open stream: Invalid argument in
phar://go-pear.phar/PEAR/Installer/Role.php
on line 80
Fatal error: PEAR_Installer_Role::require_once(): Failed opening
required 'PEAR/
Installer/Role/Php.php' (include_path='.;C:\php5\pear') in
phar://go-pear.phar/P
EAR/Installer/Role.php on line 80
Drücken Sie eine beliebige Taste . . .
Previous Comments:
------------------------------------------------------------------------
[2005-11-23 07:44:38] cellog@php.net
please try a snapshot, or grab http://pear.php.net/go-pear.phar
directly and use that with RC6
------------------------------------------------------------------------
[2005-11-22 13:27:29] tony2001@php.net
Greg, please fix it.
------------------------------------------------------------------------
[2005-11-22 13:02:27] nohn@php.net
Description:
------------
go-pear fails with 5.1.0RC6 on Win32
Reproduce code:
---------------
> go-pear.bat
Expected result:
----------------
PEAR gets installed
Actual result:
--------------
C:\wamp\php>go-pear
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : C:\wamp\php
2. Binaries directory : C:\wamp\php
3. PHP code directory ($php_dir) : C:\wamp\php\pear
4. Documentation directory : C:\wamp\php\pear\docs
5. Data directory : C:\wamp\php\pear\data
6. Tests directory : C:\wamp\php\pear\tests
7. Name of configuration file : C:\WINDOWS\pear.ini
8. Path to CLI php.exe : C:\wamp\php\.
1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\WINDOWS\pear.ini...
Initialized registry...
Preparing to install...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
installing
phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.3.tar...
WARNING: channel "pear.php.net" has updated its protocols, use
"channel-update p
ear.php.net" to update
pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
install ok: channel://pear.php.net/Archive_Tar-1.3.1
install ok: channel://pear.php.net/Console_Getopt-1.2
Warning: PEAR_Installer_Role::factory(PEAR/Installer/Role/Php.php):
failed to op
en stream: Invalid argument in
phar://go-pear.phar/PEAR/Installer/Role.php on li
ne 80
Fatal error: PEAR_Installer_Role::factory(): Failed opening required
'PEAR/Insta
ller/Role/Php.php' (include_path='.;C:\php5\pear') in
phar://go-pear.phar/PEAR/I
nstaller/Role.php on line 80
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35328&edit=1