<?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>fourwhitefeet &#187; mamp</title>
	<atom:link href="http://fourwhitefeet.com/tag/mamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://fourwhitefeet.com</link>
	<description>a dog is one of the remaining reasons why some people can be persuaded to go for a walk.  ~o.a. battista</description>
	<lastBuildDate>Thu, 01 Jul 2010 14:52:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>MAMP and PEAR</title>
		<link>http://fourwhitefeet.com/2010/01/mamp-and-pear/</link>
		<comments>http://fourwhitefeet.com/2010/01/mamp-and-pear/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 21:25:50 +0000</pubDate>
		<dc:creator>cathy</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[notes to self]]></category>
		<category><![CDATA[web coding tips]]></category>
		<category><![CDATA[development environment]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[pear]]></category>

		<guid isPermaLink="false">http://fourwhitefeet.com/?p=1082</guid>
		<description><![CDATA[I finally added some PEAR packages to my MAMP Pro installation. Theoretically you should be able to use the PEAR installer that comes with MAMP. I&#8217;ve used the PEAR installer on other servers, but couldn&#8217;t get it to work on the local development environment on my Mac. I&#8217;ve found a few posts from MAMP users [...]]]></description>
			<content:encoded><![CDATA[<p>I finally added some <a href="http://pear.php.net/">PEAR</a> packages to my <a href="http://www.mamp.info/en/index.html">MAMP</a> Pro installation. Theoretically you should be able to use the PEAR installer that comes with MAMP. I&#8217;ve used the PEAR installer on other servers, but couldn&#8217;t get it to work on the local development environment on my Mac. I&#8217;ve found a few posts from MAMP users who recommend using the installer, but if any of those users got it to work on their own systems, they didn&#8217;t share the details of how they did it.</p>
<p>Success came by following a manual process similar to that copied from the Neo Geek article below, <a href="http://neo-geek.net/articles/2/">Setting up MAMP, PEAR, and Headress</a>:</p>
<p>PEAR <code>Installation</code></p>
<ol>
<li><code>After locating the framework you want on <a href="http://pear.php.net/">pear.php.net</a>, download the latest version</code> (or the version you need for testing) <code>from the "Download" tab on that framework's main page.</code></li>
<li><code>Unzip the downloaded file.</code></li>
<li><code>Open the folder that was extracted to find another similarly named folder and a file named package.xml.</code></li>
<li><code>Copy just the folder to Applications/MAMP/bin/php5/lib/php/</code>. (I copied just the contents of that folder to the HTML folder in my example below.)</li>
</ol>
<p></code></p>
<p>Notes on Step 4: 1) If you are using MAMP Pro, you still install your pear packages in the MAMP path shown. 2) There is a PEAR folder in Applications/MAMP/bin/php5/lib/php/  PEAR packages you add manually go in Applications/MAMP/bin/php5/lib/php/ not in Applications/MAMP/bin/php5/lib/php/PEAR/</p>
<p>I didn't want to change include statements in the scripts I was testing. Instead I created a folder in Applications/MAMP/bin/php5/lib/php/ for the top level package name, HTML in this case, and copied the files in the extracted package folder into the HTML folder. So for HTML_Common there is a file named Common.php in my Applications/MAMP/bin/php5/lib/php/HTML/ folder.  If this path structure doesn't work for you, refer to the error messages PHP is generating to help you figure out where to locate packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://fourwhitefeet.com/2010/01/mamp-and-pear/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
