<?xml version="1.0"?>
<?xml-stylesheet
href="http://www.w3.org/2000/08/w3c-synd/style.css" type="text/css"
?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel rdf:about="http://pear.php.net/bugs/search.php">
    <title>PEAR Bug Search Results</title>
    <link>http://pear.php.net/bugs/search.php?cmd=display&amp;package_name%5B0%5D=pearweb_gopear</link>
    <description>Search Results</description>
    <dc:language>en-us</dc:language>
    <dc:creator>pear-webmaster@lists.php.net</dc:creator>
    <dc:publisher>pear-webmaster@lists.php.net</dc:publisher>
    <admin:generatorAgent rdf:resource="http://pear.php.net/bugs"/>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
    <items>
     <rdf:Seq>
      <rdf:li rdf:resource="http://pear.php.net/bug/21241" />
      <rdf:li rdf:resource="http://pear.php.net/bug/20262" />
      <rdf:li rdf:resource="http://pear.php.net/bug/19599" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18104" />
      <rdf:li rdf:resource="http://pear.php.net/bug/18046" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16930" />
      <rdf:li rdf:resource="http://pear.php.net/bug/16188" />
      <rdf:li rdf:resource="http://pear.php.net/bug/14507" />

     </rdf:Seq>
    </items>
  </channel>

  <image rdf:about="http://pear.php.net/gifs/pearsmall.gif">
    <title>PEAR Bugs</title>
    <url>http://pear.php.net/gifs/pearsmall.gif</url>
    <link>http://pear.php.net/bugs</link>
  </image>

    <item rdf:about="http://pear.php.net/bug/21241">
      <title>pearweb_gopear: Bug 21241 [Open] NOT ABLE TO GET PEAR</title>
      <link>http://pear.php.net/bugs/21241</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by prashil117
2017-09-12T04:03:51+00:00
PHP: 5.6.31 OS: MAC OS Package Version: Unknown

Description:
------------
I HAVE TRIED TO GET PATH OF PEAR
BUT I AM NOT ABLE TO DO THAT
PLEASE HELP ME</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by prashil117
2017-09-12T04:03:51+00:00
PHP: 5.6.31 OS: MAC OS Package Version: Unknown

Description:
------------
I HAVE TRIED TO GET PATH OF PEAR
BUT I AM NOT ABLE TO DO THAT
PLEASE HELP ME</pre>]]></description>
      <dc:date>2017-09-12T04:03:51+00:00</dc:date>
      <dc:creator>jollyprashil &amp;#x61;&amp;#116; GMAIL &amp;#x64;&amp;#111;&amp;#x74; COM</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/20262">
      <title>pearweb_gopear: Bug 20262 [Open] Installation error: &quot;Fatal error: Class 'PEAR' not found&quot;</title>
      <link>http://pear.php.net/bugs/20262</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by furyutei
2014-05-03T08:15:48+00:00
PHP: 5.4.28 OS: CentOS release 6.5 Package Version: 1.1.7

Description:
------------
When I ran the PEAR Installer in my browser(Google 
Chrome),  &quot;Fatal error: Class 'PEAR' not found&quot; occurred.

I think, that is because download_url() in go-pear.php does 
not support redirection, so fail to download the bootstrap files.

e.g.)
https://raw.github.com/pear/pear-core/master/PEAR5.php 
(301 Moved Permanently) =&gt; 
https://raw.githubusercontent.com/pear/pear-
core/master/PEAR5.php

I fixed this problem temporarily.
https://github.com/furyutei/go-
pear/commit/5b111f3a50bb0635e6f7d6310d56bb5ea2a885d2
#diff-d7a5116813413fea60a1b3dab031e4d2


Actual result:
--------------
Installation in progress ...
:
Bootstrapping Installer...................
Bootstrapping PEAR5.php............(remote) ok
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok 
Fatal error: Class 'PEAR' not found in /path/to/go-pear/go-
pear.php on line 697</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by furyutei
2014-05-03T08:15:48+00:00
PHP: 5.4.28 OS: CentOS release 6.5 Package Version: 1.1.7

Description:
------------
When I ran the PEAR Installer in my browser(Google 
Chrome),  &quot;Fatal error: Class 'PEAR' not found&quot; occurred.

I think, that is because download_url() in go-pear.php does 
not support redirection, so fail to download the bootstrap files.

e.g.)
https://raw.github.com/pear/pear-core/master/PEAR5.php 
(301 Moved Permanently) =&gt; 
https://raw.githubusercontent.com/pear/pear-
core/master/PEAR5.php

I fixed this problem temporarily.
https://github.com/furyutei/go-
pear/commit/5b111f3a50bb0635e6f7d6310d56bb5ea2a885d2
#diff-d7a5116813413fea60a1b3dab031e4d2


Actual result:
--------------
Installation in progress ...
:
Bootstrapping Installer...................
Bootstrapping PEAR5.php............(remote) ok
Bootstrapping PEAR.php............(remote) ok
Bootstrapping Archive/Tar.php............(remote) ok
Bootstrapping Console/Getopt.php............(remote) ok 
Fatal error: Class 'PEAR' not found in /path/to/go-pear/go-
pear.php on line 697</pre>]]></description>
      <dc:date>2014-07-20T01:20:13+00:00</dc:date>
      <dc:creator>furyutei &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/19599">
      <title>pearweb_gopear: Bug 19599 [Open] need update</title>
      <link>http://pear.php.net/bugs/19599</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by rinaldi
2012-09-09T00:59:04+00:00
PHP: 5.3.16 OS: Linux/apache Package Version: 1.1.7

Description:
------------
Running go-pear 

Actual result:
--------------
Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 650

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 697

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 757

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 786

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 914

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 1577

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 1607

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 2038

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 2091

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Registry.php on line 322

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Registry.php on line 1450

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Registry.php on line 1458

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Command.php on line 137

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Command.php on line 154

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Frontend.php on line 91

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Config.php on line 1026

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Config.php on line 1033

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 199

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1504

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1516

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1524

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1527

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 492

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 511

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 574

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 607

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 629

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/DependencyDB.php on line 581

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/DependencyDB.php on line 583

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Updating channel &quot;doc.php.net&quot;

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Downloader.php on line 243

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Downloader.php on line 259

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Update of Channel &quot;doc.php.net&quot; succeeded

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Updating channel &quot;pear.php.net&quot;

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Update of Channel &quot;pear.php.net&quot; succeeded

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Registry.php on line 1183

Updating channel &quot;pecl.php.net&quot;

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Registry.php on line 1183

Update of Channel &quot;pecl.php.net&quot; succeeded

Installing selected packages..................

Deprecated: Assigning the return value of new by reference is deprecated in path/temp/PEAR/Command/Install.php on line 331

Deprecated: Assigning the return value of new by reference is deprecated in path/temp/PEAR/Command/Install.php on line 343

Deprecated: Assigning the return value of new by reference is deprecated in path/temp/PEAR/Command/Install.php on line 1139

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Config.php on line 1026

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Config.php on line 1033</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by rinaldi
2012-09-09T00:59:04+00:00
PHP: 5.3.16 OS: Linux/apache Package Version: 1.1.7

Description:
------------
Running go-pear 

Actual result:
--------------
Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 650

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 697

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 757

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 786

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 914

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 1577

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 1607

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 2038

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Config.php on line 2091

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Registry.php on line 322

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Registry.php on line 1450

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Registry.php on line 1458

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Command.php on line 137

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Command.php on line 154

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Frontend.php on line 91

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Config.php on line 1026

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Config.php on line 1033

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 199

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1504

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1516

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1524

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/ChannelFile.php on line 1527

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 492

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 511

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 574

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 607

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Common.php on line 629

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/DependencyDB.php on line 581

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/DependencyDB.php on line 583

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Updating channel &quot;doc.php.net&quot;

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Downloader.php on line 243

Deprecated: Assigning the return value of new by reference is deprecated in path/PEAR/Downloader.php on line 259

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Update of Channel &quot;doc.php.net&quot; succeeded

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Updating channel &quot;pear.php.net&quot;

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1183

Update of Channel &quot;pear.php.net&quot; succeeded

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Registry.php on line 1183

Updating channel &quot;pecl.php.net&quot;

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Registry.php on line 1179

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Registry.php on line 1183

Update of Channel &quot;pecl.php.net&quot; succeeded

Installing selected packages..................

Deprecated: Assigning the return value of new by reference is deprecated in path/temp/PEAR/Command/Install.php on line 331

Deprecated: Assigning the return value of new by reference is deprecated in path/temp/PEAR/Command/Install.php on line 343

Deprecated: Assigning the return value of new by reference is deprecated in path/temp/PEAR/Command/Install.php on line 1139

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Config.php on line 1026

Deprecated: Function set_magic_quotes_runtime() is deprecated in path/temp/PEAR/Config.php on line 1033</pre>]]></description>
      <dc:date>2012-09-09T01:01:38+00:00</dc:date>
      <dc:creator>giovannirinaldi_002 &amp;#x61;&amp;#116; fastwebnet &amp;#x64;&amp;#111;&amp;#x74; it</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18104">
      <title>pearweb_gopear: Bug 18104 [Open] PEAR install wrong version</title>
      <link>http://pear.php.net/bugs/18104</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by diricia
2010-12-08T19:49:58+00:00
PHP: 5.2.12 OS: Mac OSX 10.6.5 Package Version: 

Description:
------------
Your script to install PEAR from the site installs version 1.9.0 
instead of 1.9.1

Test script:
---------------
$ curl http://pear.php.net/go-pear | sudo php

Actual result:
--------------
$ pear -V
PEAR Version: 1.9.0
PHP Version: 5.2.13
Zend Engine Version: 2.2.0</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by diricia
2010-12-08T19:49:58+00:00
PHP: 5.2.12 OS: Mac OSX 10.6.5 Package Version: 

Description:
------------
Your script to install PEAR from the site installs version 1.9.0 
instead of 1.9.1

Test script:
---------------
$ curl http://pear.php.net/go-pear | sudo php

Actual result:
--------------
$ pear -V
PEAR Version: 1.9.0
PHP Version: 5.2.13
Zend Engine Version: 2.2.0</pre>]]></description>
      <dc:date>2011-02-28T01:44:38+00:00</dc:date>
      <dc:creator>diricia &amp;#x61;&amp;#116; pear &amp;#x64;&amp;#111;&amp;#x74; phun &amp;#x64;&amp;#111;&amp;#x74; net</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/18046">
      <title>pearweb_gopear: Bug 18046 [Open] Error HTTP 500 go-pear.php</title>
      <link>http://pear.php.net/bugs/18046</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by pangpondpuen
2010-11-12T15:21:08+00:00
PHP: 5.3.2 OS: Linux Package Version: 1.1.4

Description:
------------
After install &quot;go-pear.php&quot;, I found error message as &quot;HTTP 500 Internal Server Error &quot;

URL : http://xxxxxxx/pear/index.php

Below is a message in php error log : 

[12-Nov-2010 16:02:42] PHP Fatal error:  No PEAR.php in supplied PEAR directory: @pear_dir@ in /home/econ/public_html/services/pear/index.php on line 24</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by pangpondpuen
2010-11-12T15:21:08+00:00
PHP: 5.3.2 OS: Linux Package Version: 1.1.4

Description:
------------
After install &quot;go-pear.php&quot;, I found error message as &quot;HTTP 500 Internal Server Error &quot;

URL : http://xxxxxxx/pear/index.php

Below is a message in php error log : 

[12-Nov-2010 16:02:42] PHP Fatal error:  No PEAR.php in supplied PEAR directory: @pear_dir@ in /home/econ/public_html/services/pear/index.php on line 24</pre>]]></description>
      <dc:date>2010-11-12T15:21:08+00:00</dc:date>
      <dc:creator>thanawut &amp;#x61;&amp;#116; 11infotech &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16930">
      <title>pearweb_gopear: Bug 16930 [Open] Install overwrites index.php</title>
      <link>http://pear.php.net/bugs/16930</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by ardee
2009-12-20T11:24:13+00:00
PHP: 5.2.5 OS: redhat linux Package Version: 

Description:
------------
If you run the web install by following these directions in documentation:

&quot;
PEAR in hosting environments

If you are running your site at a web hosting provider with no direct access to the server (via local logins, Telnet or SSH), you can use the PEAR Installer using the Web Frontend or (S)FTP.

Go to http://pear.php.net/go-pear and save as go-pear.php. Copy go-pear.php to your server and open the corresponding URL in your browser, for example http://example.com/pear/go-pear.php.&quot;

Your index.php file will be overwritten in your webroot folder EVEN IF the install is not ran from your webroot. Thankfully I had a backup but there is no reason for this. It should overwrite index.php in whatever directory it is put in.

Expected result:
----------------
To not overwrite index.php and expose my web config to the world.

Actual result:
--------------
Overwrites your index.php. Rage ensues.</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by ardee
2009-12-20T11:24:13+00:00
PHP: 5.2.5 OS: redhat linux Package Version: 

Description:
------------
If you run the web install by following these directions in documentation:

&quot;
PEAR in hosting environments

If you are running your site at a web hosting provider with no direct access to the server (via local logins, Telnet or SSH), you can use the PEAR Installer using the Web Frontend or (S)FTP.

Go to http://pear.php.net/go-pear and save as go-pear.php. Copy go-pear.php to your server and open the corresponding URL in your browser, for example http://example.com/pear/go-pear.php.&quot;

Your index.php file will be overwritten in your webroot folder EVEN IF the install is not ran from your webroot. Thankfully I had a backup but there is no reason for this. It should overwrite index.php in whatever directory it is put in.

Expected result:
----------------
To not overwrite index.php and expose my web config to the world.

Actual result:
--------------
Overwrites your index.php. Rage ensues.</pre>]]></description>
      <dc:date>2010-04-08T03:02:38+00:00</dc:date>
      <dc:creator>calltechsucks &amp;#x61;&amp;#116; gmail &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/16188">
      <title>pearweb_gopear: Bug 16188 [Open] Failure to escape single quotes in directory names</title>
      <link>http://pear.php.net/bugs/16188</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by theboff
2009-05-06T03:56:21+00:00
PHP: 5.2.9 OS: Windows Server 2008 Package Version: 1.1.3

Description:
------------
When using go pear to install pear on my windows system, I installed to a directory with an apostrophe in the name (&quot;Colin's Stuff&quot;). I got &quot;parse errors&quot; when trying to use pear, and believe the problem is due to the fact that the apostrophe is not escaped, and hence closes the string.</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by theboff
2009-05-06T03:56:21+00:00
PHP: 5.2.9 OS: Windows Server 2008 Package Version: 1.1.3

Description:
------------
When using go pear to install pear on my windows system, I installed to a directory with an apostrophe in the name (&quot;Colin's Stuff&quot;). I got &quot;parse errors&quot; when trying to use pear, and believe the problem is due to the fact that the apostrophe is not escaped, and hence closes the string.</pre>]]></description>
      <dc:date>2009-05-06T03:56:21+00:00</dc:date>
      <dc:creator>colin &amp;#x64;&amp;#111;&amp;#x74; rothwell &amp;#x61;&amp;#116; gmx &amp;#x64;&amp;#111;&amp;#x74; com</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
    <item rdf:about="http://pear.php.net/bug/14507">
      <title>pearweb_gopear: Bug 14507 [Open] go-pear fails creating directories.</title>
      <link>http://pear.php.net/bugs/14507</link>
      <content:encoded><![CDATA[<pre>pearweb_gopear Bug
Reported by uli1448412
2008-08-15T21:39:20+00:00
PHP: 4.4.4 OS: Debian/Linux Package Version: 1.1.2

Description:
------------
go-pear creates all it's directories using mkdir(&quot;filename&quot;,mode). It therefore fails to access the dirs if umask is accidentally not 0000.

The problem is wellknown, see the annotations in the php online documentation: 

---8&lt;----
28-Jun-2003 01:00: 
You might notice that when you create a new directory using this code:

mkdir($dir, 0777);

The created folder actually has permissions of 0755, instead of the specified
0777. Why is this you ask? Because of umask(): http://www.php.net/umask

The default value of umask, at least on my setup, is 18. Which is 22 octal, or
0022. This means that when you use mkdir() to CHMOD the created folder to 0777,
PHP takes 0777 and substracts the current value of umask, in our case 0022, so
the result is 0755 - which is not what you wanted, probably.

The &quot;fix&quot; for this is simple, include this line:

$old_umask = umask(0);

Right before creating a folder with mkdir() to have the actual value you put be
used as the CHMOD. If you would like to return umask to its original value when
you're done, use this:

umask($old_umask);

-----8&lt;----


You can easiely fix the script by adding the line

$oldmask=umask(0000);

at the very beginning.

Test script:
---------------
go-pear.php as shipped.

Expected result:
----------------
working pear-installation

Actual result:
--------------
Errormessages like: 

FATAL ERROR! This directory exists, but we have no write permission in it.

You can grant this permission by logging on to the server and issuing the following command:
chmod 0777 /home/www/web2_226/html/pear_php5/temp

The hint given does not work, too. I think the directory is destroyed if it exists before.</pre>]]></content:encoded>
      <description><![CDATA[<pre>pearweb_gopear Bug
Reported by uli1448412
2008-08-15T21:39:20+00:00
PHP: 4.4.4 OS: Debian/Linux Package Version: 1.1.2

Description:
------------
go-pear creates all it's directories using mkdir(&quot;filename&quot;,mode). It therefore fails to access the dirs if umask is accidentally not 0000.

The problem is wellknown, see the annotations in the php online documentation: 

---8&lt;----
28-Jun-2003 01:00: 
You might notice that when you create a new directory using this code:

mkdir($dir, 0777);

The created folder actually has permissions of 0755, instead of the specified
0777. Why is this you ask? Because of umask(): http://www.php.net/umask

The default value of umask, at least on my setup, is 18. Which is 22 octal, or
0022. This means that when you use mkdir() to CHMOD the created folder to 0777,
PHP takes 0777 and substracts the current value of umask, in our case 0022, so
the result is 0755 - which is not what you wanted, probably.

The &quot;fix&quot; for this is simple, include this line:

$old_umask = umask(0);

Right before creating a folder with mkdir() to have the actual value you put be
used as the CHMOD. If you would like to return umask to its original value when
you're done, use this:

umask($old_umask);

-----8&lt;----


You can easiely fix the script by adding the line

$oldmask=umask(0000);

at the very beginning.

Test script:
---------------
go-pear.php as shipped.

Expected result:
----------------
working pear-installation

Actual result:
--------------
Errormessages like: 

FATAL ERROR! This directory exists, but we have no write permission in it.

You can grant this permission by logging on to the server and issuing the following command:
chmod 0777 /home/www/web2_226/html/pear_php5/temp

The hint given does not work, too. I think the directory is destroyed if it exists before.</pre>]]></description>
      <dc:date>2009-04-17T22:25:52+00:00</dc:date>
      <dc:creator>uli_rgbg &amp;#x61;&amp;#116; gmx &amp;#x64;&amp;#111;&amp;#x74; de</dc:creator>
      <dc:subject>pearweb_gopear Bug</dc:subject>
    </item>
</rdf:RDF>
