FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=16394&edit=1

ID: 16394
Updated by: cweiske@php.net
Reported By: sb at sebastian-bergmann dot de
Summary: PEAR Installer should not write to C:\Windows
-Status: Open
+Status: Wont fix
Type: Bug
Package: PEAR
Operating System: Windows Vista
Package Version: 1.8.1
PHP Version: 5.3.0
Roadmap Versions:
New Comment:

-Status: Open
+Status: Wont fix
go-pear is dead, go-pear.phar is the installer to use. The problem with
the phar is reported as bug #16939.


Previous Comments:
------------------------------------------------------------------------

[2010-07-19 19:27:37] wookieb

In command line type SET PHP_PEAR_SYSCONF_DIR=I:\path\to\phpdir\

That should resolve all your problems with pear installation.

------------------------------------------------------------------------

[2010-04-07 23:00:35] dufuz

Have you tried using http://pear.php.net/go-pear.phar instead? It is a
lot better in
many ways (and 1.9.1 brings in some Windows specific fixes but not to
this one I
am afraid.)

------------------------------------------------------------------------

[2009-08-02 14:31:31] dufuz

Just to clarify, Todd does not have the same problem as Sebastian. The
problem Todd is having is that the phar files didn't have a signature.

------------------------------------------------------------------------

[2009-07-09 23:10:32] todd

Similar issue, using the thread-safe Windows VC6 release for PHP 5.3 and
running from the command line:

C:\php>go-pear.bat
phar "C:\php\PEAR\go-pear.phar" does not have a signature
Warning: require_once(phar://go-pear.phar/index.php): failed to open
stream: phar error: invalid url or non-existent phar
"phar://go-pear.phar/index.php" in C:\php\PEAR\go-pear.phar on
line 1236
Press any key to continue . . .

------------------------------------------------------------------------

[2009-07-01 10:40:33] sebastian

Description:
------------
Downloaded and unpacked
http://windows.php.net/downloads/releases/php-5.3.0-nts-Win32-VC9-x86.zip

wget http://pear.php.net/go-pear
php go-pear

Expected result:
----------------
Setup works and does not write anything to C:\Windows

Actual result:
--------------
PEAR_Config::writeConfigFile fopen('C:\Windows\pear.ini','w') failed
(fopen(C:\Windows\pear.ini): failed to open stream: Permission denied)

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedFeb 22, '11 at 2:55p
activeFeb 22, '11 at 2:55p
posts1
users1
websitepear.php.net

1 user in discussion

Cweiske: 1 post

People

Translate

site design / logo © 2021 Grokbase