<?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>Andrew Havens &#187; Mac OS X 10.5</title>
	<atom:link href="http://www.andrewhavens.com/tag/mac-os-x-105/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.andrewhavens.com</link>
	<description>Designer + Developer</description>
	<lastBuildDate>Tue, 29 Sep 2009 00:58:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to set up the Zend Framework Command Line Tool on Mac OS X</title>
		<link>http://www.andrewhavens.com/2009/09/how-to-set-up-the-zend-framework-command-line-tool-on-mac-os-x/</link>
		<comments>http://www.andrewhavens.com/2009/09/how-to-set-up-the-zend-framework-command-line-tool-on-mac-os-x/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 00:51:04 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Mac OS X 10.5]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>

		<guid isPermaLink="false">http://www.andrewhavens.com/?p=271</guid>
		<description><![CDATA[Now that the Zend Framework ships with a command line tool, it's even easier to get started programming with the Zend Framework. In this tutorial, I will show you how to set up the command line tool for use on Mac OS X.]]></description>
			<content:encoded><![CDATA[<p>Now that the Zend Framework ships with a command line tool, it&#8217;s even easier to get started programming with the Zend Framework. In this tutorial, I will show you how to set up the command line tool for use on Mac OS X.</p>
<p>First, <a title="Download the newest version of the Zend Framework" href="http://framework.zend.com/download/latest">download the newest version of the Zend Framework</a>. Both the full and minimal versions come with the Command Line tool. For this tutorial, I will be using version 1.9.3.</p>
<p>Once the folder has downloaded,  it will need to be extracted and moved somewhere you can find it. I will be moving this folder to the top level &#8220;/Library/&#8221; directory so it will be easy to type. Within the ZendFramework directory, there is a directory called bin. Within this directory is a file called zf.sh. This is the command line tool. So if you want to use the tool, open your Terminal application and navigate to the directory that you want your project created.</p>
<p>cd Sites</p>
<p>Then, type:</p>
<p>/Library/ZendFramework/bin/zf.sh create ProjectName</p>
<p>A new Zend Framework project will be created in the Sites directory with the name of ProjectName. But this is more than I&#8217;d rather type on a regular basis, so we should create an alias. To create an alias, type the following:</p>
<p>alias zf.sh=/Library/ZendFramework/bin/zf.sh</p>
<p>Now all we have to type is:</p>
<p>zf.sh create ProjectName</p>
<p>That&#8217;s it! By running this command in the command line, we have just created a new Zend Framework project in the current directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewhavens.com/2009/09/how-to-set-up-the-zend-framework-command-line-tool-on-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Zend_Test &#8211; Step 1: Setting up PEAR on Mac OS X 10.5 (Leopard)</title>
		<link>http://www.andrewhavens.com/2009/03/setting-up-pear-on-mac-os-x-105-leopard/</link>
		<comments>http://www.andrewhavens.com/2009/03/setting-up-pear-on-mac-os-x-105-leopard/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 12:55:57 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Mac OS X 10.5]]></category>
		<category><![CDATA[PEAR]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Zend Framework]]></category>
		<category><![CDATA[Zend_Test]]></category>

		<guid isPermaLink="false">http://blog.andrewhavens.com/?p=70</guid>
		<description><![CDATA[Question: How do I get started using Zend_Test? What is the process necessary to start using Zend_Test for testing my Zend Framework application?

Answer: Zend_Test extends PHPUnit. Therefore, we need to start by installing PHPUnit. The easiest way to install PHPUnit is by installing PEAR. Therefore...you get the idea. We need PEAR. I'll walk you through the process I took to install PEAR on Mac OS X 10.5 (Leopard).]]></description>
			<content:encoded><![CDATA[<p><strong>Question: </strong>How do I get started using Zend_Test? What is the process necessary to start using Zend_Test for testing my Zend Framework application?</p>
<p><strong>Answer:</strong> Zend_Test extends PHPUnit. Therefore, we need to start by installing PHPUnit. The easiest way to install PHPUnit is by installing PEAR. Therefore&#8230;you get the idea. We need PEAR. I&#8217;ll walk you through the process I took to install PEAR on Mac OS X 10.5 (Leopard).</p>
<p>Open up your trusty Terminal application by going to /Applications/Utilities.</p>
<p>First, we&#8217;ll switch over to a user that has enough permission to do anything, our super user:</p>
<pre class="brush: sql;">sudo su -</pre>
<p>Next, we&#8217;ll change directories to /usr/local by typing:</p>
<pre class="brush: cpp;">cd /usr/local</pre>
<p>Then, we&#8217;ll download and run the pear installer:</p>
<pre class="brush: sql;">curl http://pear.php.net/go-pear | php</pre>
<p>Press enter to begin the installation process. Press enter again to use no HTTP proxy. You should then see a screen with seven installation locations. The first one should say /usr/local. If this is not the case, press 1 and enter. Type /usr/local and press enter again. Now we should all be on the same page.</p>
<p>Press enter to continue with the installation. When asked, you can accept the additional PEAR packages by typing Y and pressing enter.</p>
<p>The installer will run through the installation, downloading and installing the necessary packages. Eventually the installation will finish. You may receive a warning that your php.ini file does not contain the PEAR PHP directory we specified (/usr/local/PEAR). This is okay. We will be editing this file in the next step. So simply type n and press enter. Press enter againto finish the installation. PEAR should now be installed and ready to use. Let&#8217;s see if it works by typing:</p>
<pre class="brush: sql;">pear version</pre>
<p>We should see a few lines including the version of PEAR we just installed, PHP version, etc. But wait, we&#8217;re not done yet! We still need to edit our php.ini file. If you don&#8217;t have a php.ini, you&#8217;ll need to create one by copying the php.ini.default:</p>
<pre class="brush: css;">cp /etc/php.ini.default /etc/php.ini</pre>
<p>Now were ready to edit our php.ini file. Open the file with Pico (or any other text editor):</p>
<pre class="brush: sql;">pico /etc/php.ini</pre>
<p>Scroll down about 1/3 and find the line that says:</p>
<pre class="brush: sql;">;include_path = “.:/php/includes”</pre>
<p>The semicolon at the beginning of the line means it&#8217;s commented out. Replace this line with the following:</p>
<pre class="brush: cpp;">include_path = “.:/usr/local/PEAR”</pre>
<p>Press Control + O, then enter, to save your changes. Then, Control + X to exit Pico. Restart your Apache server and you should be good to go!</p>
<pre class="brush: sql;">apachectl restart</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewhavens.com/2009/03/setting-up-pear-on-mac-os-x-105-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to set up Mac OS X 10.5 for Web Development</title>
		<link>http://www.andrewhavens.com/2009/02/how-to-set-up-mac-os-x-105-for-web-development/</link>
		<comments>http://www.andrewhavens.com/2009/02/how-to-set-up-mac-os-x-105-for-web-development/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 09:23:31 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Mac OS X 10.5]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Virtual Hosting]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://blog.andrewhavens.com/?p=47</guid>
		<description><![CDATA[Q: How do I set up PHP, Apache, MySQL, and Virtual Hosts on my Mac OS X 10.5?
A: That&#8217;s a good question! I&#8217;ve installed Apache, PHP, PEAR, Virtual Hosts, but haven&#8217;t had any luck with getting MySQL up and running. If you figure it out&#8230;please let me know!! Right now I&#8217;m using MAMP. Not the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Q:</strong> How do I set up PHP, Apache, MySQL, and Virtual Hosts on my Mac OS X 10.5?</p>
<p><strong>A:</strong> That&#8217;s a good question! I&#8217;ve installed Apache, PHP, PEAR, Virtual Hosts, but haven&#8217;t had <em>any</em> luck with getting MySQL up and running. If you figure it out&#8230;please let me know!! Right now I&#8217;m using <a href="http://www.mamp.info">MAMP</a>. Not the ideal working environment, but it&#8217;s getting the job done for now.</p>
<p>This tutorial may be helpful in your journey of <a href="http://www.procata.com/blog/archives/2007/10/28/working-with-php-5-in-mac-os-x-105/">how to install MySQL on a Mac</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.andrewhavens.com/2009/02/how-to-set-up-mac-os-x-105-for-web-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

