Home » PEAR » PEAR » Bug #5871
installation script go-pear.php hangs after asking for proxy
Details
| Submitted | 2005-11-05 07:24 UTC |
|---|---|
| From | shaoyu73 at gmail dot com |
| Status | Bogus |
| Package | PEAR |
| PHP Version | 5.0.4 |
| OS | Windows 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"