PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #5871

installation script go-pear.php hangs after asking for proxy

Details

Submitted2005-11-05 07:24 UTC
Fromshaoyu73 at gmail dot com
StatusBogus
PackagePEAR
PHP Version5.0.4
OSWindows XP
Roadmaps(Not assigned)

Comments

[2005-11-05 07:24 UTC] shaoyu73 at gmail dot com

Description:
------------
Add a few line to go-pear.php to catch the hang at this line:

line 371: $php_bin_sapi = win32DetectPHPSAPI();

changed this line to

$php_bin_sapi = 'cli';

Then the script successfully installed the packages.

My php5 is installed in D:\PHP

Test script:
---------------
Not available

[2006-02-09 07:09 UTC] shaoyu73 at gmail dot com

added the line you suggested, couldn't reproduce the hang, but output of the line you suggested now is:
string(3) "cli"