php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23311 go-pear.bat does not keep proxy and fails afterwards
Submitted: 2003-04-23 01:44 UTC Modified: 2003-04-28 10:06 UTC
From: arnaud@php.net Assigned: pajoye (profile)
Status: Closed Package: PEAR related
PHP Version: 4CVS-2003-04-23 (stable) OS: windows NT4
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: arnaud@php.net
New email:
PHP Version: OS:

 

 [2003-04-23 01:44 UTC] arnaud@php.net
Just tried go-pear.bat from latest stable win32 snapshot, 23 april 00h30.

Go-pear.bat executes well and installs the pear command but does not keep the proxy given during execution.

HTTP Proxy Server Address      http_proxy      <not set>

I set it manually and i had the following output

C:\tmp\php4-win32-STABLE-200304230030>C:\tmp\php4-win32-STABLE-200304230030\pear remote-list

Warning: mkdir(C:\Winnt\Temp\pear): File exists in System.php on line 236

Warning: mkdir(C:\Winnt\Temp\pear\cache): No such file or directory in System.php on line 236
<B>XML_RPC_Value</B>: scalar can have only one value<BR>
Warning: mkdir(C:\Winnt\Temp\pear): File exists in System.php on line 236

Warning: mkdir(C:\Winnt\Temp\pear\cache): No such file or directory in System.php on line 236

Warning: fwrite(): supplied argument is not a valid stream resource in Remote.php on line 95

Warning: fclose(): supplied argument is not a valid stream resource in Remote.php on line 96

Warning: Invalid argument supplied for foreach() in Remote.php on line 159

Notice: Undefined index:  data in CLI.php on line 436

Notice: Undefined variable:  opts in CLI.php on line 450

Warning: Invalid argument supplied for foreach() in CLI.php on line 452

AVAILABLE PACKAGES:
===================
PACKAGE VERSION

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-24 02:23 UTC] pajoye@php.net
Hello,

I will add the proxy settings asap.

The errors with remote-list sound weird, let see if I can find a NT4 somewhere :P

pierre
 [2003-04-24 15:17 UTC] stone@php.net
Verified part 2 on XP with latest stable snapshot, also strange errors with pear list-all (I don't use a http proxy):

F:\phptry>pear list-all
<B>XML_RPC_Value</B>: scalar can have only one value<BR>The package list could n
ot be fetched from the remote server. Please try again. (Debug info: "0")

F:\phptry>pear remote-list

Warning: Invalid argument supplied for foreach() in Remote.php on line 159

Notice: Undefined index:  data in CLI.php on line 436

Notice: Undefined variable:  opts in CLI.php on line 450

Warning: Invalid argument supplied for foreach() in CLI.php on line 452
AVAILABLE PACKAGES:
===================
PACKAGE VERSION

F:\phptry>

HTH Christoph
 [2003-04-24 17:11 UTC] pajoye@php.net
Hi Christoph

Thank's for the report, I verified it as well on 2 XP Pro boxes, works on 2K boxes here. I suspect ENV vars as looking at the config used during the operations.

A fix will follow tomorrow,

pierre
 [2003-04-28 10:06 UTC] arnaud@php.net
It now keeps the proxy using php4-win32-STABLE-200304280830
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 06:01:35 2025 UTC