<?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>Thijs Lensselink&#039;s Blog &#187; PEAR</title>
	<atom:link href="http://lenss.nl/tag/pear/feed/" rel="self" type="application/rss+xml" />
	<link>http://lenss.nl</link>
	<description>Webdevelopment and stuff...</description>
	<lastBuildDate>Thu, 26 Apr 2012 21:48:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>PEAR install weirdness</title>
		<link>http://lenss.nl/2008/07/pear-install-weirdness/</link>
		<comments>http://lenss.nl/2008/07/pear-install-weirdness/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 09:11:24 +0000</pubDate>
		<dc:creator>Thijs Lensselink</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PEAR]]></category>

		<guid isPermaLink="false">http://we.designandco.de/?p=22</guid>
		<description><![CDATA[This morning i wanted to play around with firePHP a bit. And wanted to install the PEAR package. When i found out i didn&#8217;t have PEAR running on my local (win32 xp) box. So off to the pear install. The first thing i notice was that PEAR now is packaged as a nice PHAR file [...]]]></description>
			<content:encoded><![CDATA[<p>This morning i wanted to play around with <a href="http://www.firephp.org/" target="_blank">firePHP</a> a bit. And wanted to install the PEAR package. When i found out i didn&#8217;t have <a href="http://pear.php.net/" target="_blank">PEAR</a> running on my local (win32 xp) box. So off to the pear install. The first thing i notice was that PEAR now is packaged as a nice <a href="http://nl.php.net/phar" target="_blank">PHAR</a> file (PHP 5.2.6) . So i hoped the install process would be smoother then normally. This was not the case. First thing i did was run the go-pear.bat file. Which resulted in an error.</p>
<blockquote><p>phar &#8220;[path]go-pear.phar&#8221; does not have a signature<br />
Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: pha<br />
r &#8220;[path]go-pear.phar&#8221; does not have a signature in [path]\PEAR\go-pear.phar on line 1236</p>
<p>Fatal error: require_once(): Failed opening required &#8216;phar://go-pear.phar/index.<br />
php&#8217; (include_path=&#8217;.;[path][path]\PEAR&#8217;) in [path]\PEAR\go-pear.phar on line 1236</p></blockquote>
<p>Ok. So that didn&#8217;t work out like i wanted. I checked the go-pear.bat file. And copied the command to windows command line. This resulted in the same error. So i thought. Let&#8217;s try this from the PEAR directory. cd PEAR and let&#8217;s try that again.</p>
<blockquote><p>php.exe -d phar.require_hash=0 go-pear.phar</p></blockquote>
<p>Now the PEAR install runs fine.</p>
<blockquote><p>For more information about PEAR, see:</p>
<p>http://pear.php.net/faq.php</p>
<p>http://pear.php.net/manual/</p>
<p>Thanks for using go-pear!</p></blockquote>
<p>Update *</p>
<p>Although this solution seems to have resolved the problem for me. Cal Evans has a good <a href="http://blog.calevans.com/2009/07/11/xampp-php-5-3-pear-and-phar-what-a-mess">post</a> how to resolve this issue as well. My workaround didn&#8217;t solve the problem for Cal but his did for me. So here&#8217;s the <a href="http://http://blog.calevans.com/2009/07/11/xampp-php-5-3-pear-and-phar-what-a-mess/">link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lenss.nl/2008/07/pear-install-weirdness/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
