ID: 35328
Comment by: taomyn at myway dot com
Reported By: nohn@php.net
Status: Assigned
Bug Type: *General Issues
Operating System: win32
PHP Version: 5.1.0RC7-dev
Assigned To: cellog
New Comment:
Latest release v5.1.0 has the same issue.
Previous Comments:
------------------------------------------------------------------------
[2005-11-25 04:05:45] mwhitlock at whitsoftdev dot com
This is still a problem in 200511242330. I'd go in and fix it myself
but I have no idea what to do with a .phar file, so I'm at the mercy of
you developers.
------------------------------------------------------------------------
[2005-11-24 10:29:38] sniper@php.net
Still no workie..
------------------------------------------------------------------------
[2005-11-24 10:25:36] nohn@php.net
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 . . .
------------------------------------------------------------------------
[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: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