<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tony Bhimani&#039;s Blog &#187; PEAR</title>
	<atom:link href="http://www.tonybhimani.com/tag/pear/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tonybhimani.com</link>
	<description>Where I Share my Linux + Mac + Programming Experiences</description>
	<lastBuildDate>Mon, 24 Oct 2011 05:00:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Problems upgrading old PEAR versions</title>
		<link>http://www.tonybhimani.com/2008/04/30/problems-upgrading-old-pear-versions/</link>
		<comments>http://www.tonybhimani.com/2008/04/30/problems-upgrading-old-pear-versions/#comments</comments>
		<pubDate>Thu, 01 May 2008 04:37:33 +0000</pubDate>
		<dc:creator>Tony Bhimani</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PEAR]]></category>

		<guid isPermaLink="false">http://www.tonybhimani.com/?p=28</guid>
		<description><![CDATA[On some old servers I&#8217;ve had problems upgrading PEAR. I don&#8217;t remember the exact error message but I used it for a quick Google search to find one solution. If you have problems upgrading old versions of PEAR, you can &#8230; <a href="http://www.tonybhimani.com/2008/04/30/problems-upgrading-old-pear-versions/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On some old servers I&#8217;ve had problems upgrading PEAR. I don&#8217;t remember the exact error message but I used it for a quick Google search to find one solution. If you have problems upgrading old versions of PEAR, you can try these steps to force an upgrade from PEAR 1.3.2 and up.</p>
<p>You can use these commands to force the upgrade.</p>
<pre class="code">pear upgrade --force http://pear.php.net/get/Archive_Tar http://pear.php.net/get/XML_Parser http://pear.php.net/get/Console_Getopt-1.2.2
pear upgrade --force http://pear.php.net/get/PEAR-1.3.3 (use only if your PEAR is older than v1.3.3)
pear upgrade --force http://pear.php.net/get/PEAR-1.4.3
pear upgrade PEAR</pre>
<p>Here you can see the upgrade in action (fun fun fun).</p>
<pre class="code">[root@linux ~]# pear upgrade --force http://pear.php.net/get/Archive_Tar http://pear.php.net/get/XML_Parser http://pear.php.net/get/Console_Getopt-1.2.2
downloading Archive_Tar-1.3.2.tgz ...
Starting to download Archive_Tar-1.3.2.tgz (17,150 bytes)
......done: 17,150 bytes
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
downloading XML_Parser-1.2.8.tgz ...
Starting to download XML_Parser-1.2.8.tgz (13,476 bytes)
...done: 13,476 bytes
downloading Console_Getopt-1.2.2.tgz ...
Starting to download Console_Getopt-1.2.2.tgz (4,252 bytes)
...done: 4,252 bytes
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically
warning: pear/PEAR dependency package "pear/Console_Getopt" downloaded version 1.2.2 is not the recommended version 1.2.3
downloading PEAR-1.7.1.tgz ...
Starting to download PEAR-1.7.1.tgz (302,377 bytes)
...done: 302,377 bytes
upgrade ok: channel://pear.php.net/PEAR-1.7.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
upgrade ok: channel://pear.php.net/Console_Getopt-1.2.2
upgrade ok: channel://pear.php.net/XML_Parser-1.2.8
upgrade ok: channel://pear.php.net/Archive_Tar-1.3.2
To install use "pear install pear/PEAR#featurename"
[root@linux ~]# pear upgrade --force http://pear.php.net/get/PEAR-1.4.3
downloading PEAR-1.4.3.tgz ...
Starting to download PEAR-1.4.3.tgz (276,859 bytes)
.........................................................done: 276,859 bytes
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically
downloading Console_Getopt-1.2.3.tgz ...
Starting to download Console_Getopt-1.2.3.tgz (4,011 bytes)
...done: 4,011 bytes
upgrade ok: channel://pear.php.net/Console_Getopt-1.2.3
upgrade ok: channel://pear.php.net/PEAR-1.4.3
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
[root@linux ~]# pear upgrade PEAR
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically
downloading PEAR-1.7.1.tgz ...
Starting to download PEAR-1.7.1.tgz (302,377 bytes)
..............................................................done: 302,377 bytes
upgrade ok: channel://pear.php.net/PEAR-1.7.1
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
To install use "pear install PEAR#featurename"</pre>
<p>This article is based entirely from this PEAR Bug posting:<br />
<a href="http://pear.php.net/bugs/bug.php?id=12990" title="PEAR :: Bug #12990 :: Issues with PEAR Upgrade News Item from 1/3/08">PEAR :: Bug #12990 :: Issues with PEAR Upgrade News Item from 1/3/08</a></p>
<div class="gpo_leftcontainer"><div class="gpo_buttons"><g:plusone size="tall" count="true"></g:plusone></div></div> <a href='http://twitter.com/share?url=http%3A%2F%2Fwww.tonybhimani.com%2F%3Fp%3D28&count=vertical&related=&text=Problems%20upgrading%20old%20PEAR%20versions' class='twitter-share-button' data-text='Problems upgrading old PEAR versions' data-url='http://www.tonybhimani.com/?p=28' data-counturl='http://www.tonybhimani.com/2008/04/30/problems-upgrading-old-pear-versions/' data-count='vertical' data-via='TonyBhimani'></a> <script type='text/javascript'>
<!--
tweetmeme_source = 'TonyBhimani';
tweetmeme_url = 'http://www.tonybhimani.com/2008/04/30/problems-upgrading-old-pear-versions/';
//-->
</script><script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script>
]]></content:encoded>
			<wfw:commentRss>http://www.tonybhimani.com/2008/04/30/problems-upgrading-old-pear-versions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

