#25374 [NEW]: PEAR fails to install phpUnit when proxy port not specified

From: Date: Wed, 03 Sep 2003 06:16:09 +0000
Subject: #25374 [NEW]: PEAR fails to install phpUnit when proxy port not specified
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-21008@lists.php.net to get a copy of this message
From: cjbj at hotmail dot com Operating system: Windows 2000 PHP version: 5CVS-2003-09-03 (dev) PHP Bug Type: PEAR related Bug description: PEAR fails to install phpUnit when proxy port not specified Description: ------------ To confirm that http://bugs.php.net/bug.php?id=25350 was fixed in PHP5: - I unzipped php-4.3.3-Win32.zip and moved it to c:\Program Files\php-4.3.3-Win32 - Renamed PEAR to PEAR_old - Downloaded http://snaps.php.net/win32/php5-win32-latest.zip (This is php5-200309030530) - Copied the whole PEAR directory to c:\Program Files\php-4.3.3-Win32 - Started a DOS window - Changed directory to c:\Program Files\php-4.3.3-Win32 - Ran "go-pear". For the proxy I entered http://myproxy.domain/ I chose the default layout, and chose to install the DB, phpUnit etc packages. Expected result: ---------------- Pear installs. Actual result: -------------- The install of phpUnit failed like: Loading zlib: ok Using local package: PEAR.............ok Using local package: Archive_Tar......ok Using local package: Console_Getopt....ok Using local package: XML_RPC..........ok Bootstrapping: PEAR...................(local) ok Bootstrapping: Archive_Tar............(local) ok Bootstrapping: Console_Getopt.........(local) ok Using local package: DB...............ok Using local package: Net_Socket.......ok Using local package: Net_SMTP.........ok Using local package: Mail.............ok Using local package: XML_Parser.......ok Downloading package: phpUnit..........download of http://pear.php.net/get/phpUnit failed: The operation completed successfull y. (0) Press any key to continue . . . Pressing a key returned me to the OS. When I reran "go-pear" and specified the proxy as http://myproxy.domain:80/ the install completed successfully (I was asked about modifying php.ini, given URLS, the registry info etc) and the PEAR disk layout seemed as expected. I could reproduce the problem and verify the workaround each time I subsequently ran "go-pear" to test this bug. If a port is mandatory, then an explicit test and message should report its absence. -- Edit bug report at http://bugs.php.net/?id=25374&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25374&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25374&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25374&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25374&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25374&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25374&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25374&r=support Expected behavior: http://bugs.php.net/fix.php?id=25374&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25374&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25374&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25374&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25374&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25374&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25374&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25374&r=gnused

« previous php.pear.dev (#21008) next »