<?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>Life of a Programmer &#187; MAMP</title>
	<atom:link href="http://jeremysimkins.com/category/mamp/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeremysimkins.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 19 Feb 2010 22:45:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MAMP DB File Location</title>
		<link>http://jeremysimkins.com/mac/mamp-db-file-location/</link>
		<comments>http://jeremysimkins.com/mac/mamp-db-file-location/#comments</comments>
		<pubDate>Wed, 20 May 2009 18:48:08 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[MAMP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/?p=98</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>I work on many sites and some of my databases are too large to upload with phpMyAdmin. One of the biggest issues I have had was trying to import a large database into MAMP or take a large database out of MAMP and put it live. Another problem is when I am changing computers or restoring my Mac it is much easier to use Time Machine and grab these files instead of having to create a backup and re-import them. After failing on many searches on Google I finally found out where MAMP stores the DB files.</p>
<p>The path you can find these files is:<br />
<em>/Library/Application Support/living-e/MAMP PRO/db/mysql</em><br />
For the latest version of MAMP Pro (currently 1.8.1):<br />
<em>/Library/Application Support/appsolute/living-e/MAMP PRO/db/mysql</em></p>
<p>I assume that if you are running MAMP Pro, you would only need to amend the path to MAMP if not.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/mac/mamp-db-file-location/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Setting up MAMP Pro with Zend Debugger, Optimizer and Extension Manager</title>
		<link>http://jeremysimkins.com/mamp/setting-up-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/</link>
		<comments>http://jeremysimkins.com/mamp/setting-up-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/#comments</comments>
		<pubDate>Mon, 29 Sep 2008 18:55:26 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[MAMP]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[mamp pro]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[setup zend debugger]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/wordpress/?p=57</guid>
		<description><![CDATA[It seems some are having trouble setting up the Zend Debugger so i wrote this after doing some testing to see why people are having this problem. I provide below how to do this in MAMP Pro. This will also get rid of the :8888 at the end of the url as well. Download an [...]]]></description>
			<content:encoded><![CDATA[<p>It seems some are having trouble setting up the Zend Debugger so i wrote this after doing some testing to see why people are having this problem. I provide below how to do this in MAMP Pro. This will also get rid of the :8888 at the end of the url as well.</p>
<ol>
<li>Download an install the latest version of <a title="MAMP" href="http://www.mamp.info/en/download.html" target="_blank">MAMP</a></li>
<li>Install MAMP
<ul>
<li>Install MAMP Pro &#8211; I recommend this if you work on multiple projects, it is way easier than editing your hosts file and the http.conf every time</li>
<li>If you are <strong>NOT</strong> using MAMP Pro please use <a title="this tutorial" href="http://jeremysimkins.com/2008/09/28/setting-up-mamp-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/" target="_self">this tutorial</a></li>
</ul>
</li>
</ol>
<p><span id="more-57"></span></p>
<p><span style="text-decoration: underline;">MAMP PRO </span>:</p>
<ol>
<li>Go ahead and make sure that MAMP is working, go to localhost:8888/MAMP and select phpinfo()</li>
<li>Check the powered by image, this is the first image, it should look like this<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-101.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-32" title="Powered By Logo" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-101-300x47.png" alt="" /></a></li>
<li>Go to the MAMP Pro Controller, Select General
<ul>
<li>First lets get ride of the :8888 at the end of the url,  Click on the &#8220;Default Ports&#8221; option (this will get rid of the ports on the end of the url)<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-16.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-38" title="MAMP Pro Panel" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-16-300x267.png" alt="" /></a><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-17.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-39" title="MAMP Pro Control After" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-17-300x265.png" alt="" /></a></li>
<li>Select the PHP tab and check Zen Optimizer to use the optimizer &#8211;  (Optional)<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-18.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-40" title="Pro Optimizer before" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-18-300x268.png" alt="" /></a><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-19.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-41" title="Pro Optimizer after" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-19-300x268.png" alt="" /></a></li>
<li>select &#8220;Apply&#8221; and let the server restart, or restart it if it does not automatically</li>
</ul>
</li>
<li>Now go to localhost/MAMP and again select the phpinfo() option. Scroll down to the same image an now you should notice the Extension Manager and the Optimizer set (The Extension Manager will only be on here if you chose to check the optimizer in the step above)<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-15.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-37" title="Powered By Logo Next" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-15-300x41.png" alt="" /></a></li>
</ol>
<p><span style="text-decoration: underline;">Now We can Setup the Debugger </span>:<br />
Now lets do the supposed hard part, lets turn on the debugger.</p>
<ol>
<li>Download the latest debugger. You can grab it from <a title="Zend Debugger" href="http://downloads.zend.com/pdt/server-debugger/" target="_blank">here</a> &#8211; (i downloaded darwin for my intel based mac book pro)
<ul>
<li>Take the file that was extracted and put it in the MAMP directory -<br />
/Applications/MAMP/bin/php5/zend/lib/<br />
(i renamed the unzipped folder to ZendDebugger-5.2.14 so i will be using it through the rest of the tutorial, you can name the file whatever you want)</li>
</ul>
</li>
<li>The edits are the same for both MAMP and MAMP Pro. The only difference is where the files are located for each. I believe this is the area that is causing the confusion on setting up MAMP with the debugger.</li>
<li>The MOST important part of setting up the debugger is the folder structure. you will have to rename the version folder to the correct format.
<ul>
<li>The original folder name is &#8211; 5_2_x_comp &#8211; you will need to rename it to &#8211; php-5.2.x</li>
<li>The folder structure should be setup like this<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-1.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-54" title="folder structure" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-1.png" alt="" /></a></li>
</ul>
</li>
</ol>
<p><span style="text-decoration: underline;">MAMP PRO </span>:</p>
<ol>
<li>Open the php.ini that is being used by MAMP Pro. Now the problem i had with this was i was using the php.ini from the MAMP Pro directory, that is not the correct one. To get to the correct php.ini you have to be in MAMP Pro and choose File -&gt; Edit Template then the appropriate ini file, i will be using php5.ini since i am using php5.<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-25.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-47" title="pro file select" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-25-300x146.png" alt="" /></a></li>
<li>Open the php.ini and scroll to the bottom of the file it should look something like this<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-23.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-48" title="pro ini before" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-23-300x248.png" alt="" /></a></li>
<li>You will want to add after the &#8220;MAMP_zend_optimizer_MAMP&#8221;<br />
<blockquote><p>zend_extension_manager.debug_server=/Applications/MAMP/bin/php5/zend/lib/ZendDebugger-5.2.14<br />
zend_debugger.allow_hosts=127.0.0.1<br />
zend_debugger.expose_remotely=always</p>
<ul>
<li>The php.ini should look like this now<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-24.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-49" title="pro ini after" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-24-300x249.png" alt="" /></a></li>
</ul>
</blockquote>
</li>
<li>Save the file and restart the server</li>
<li>Go to localhost/MAMP and choose phpinfo() and you should now see the debugger in the powered by image.<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-22.png" rel="lightbox[57]"><img class="aligncenter size-medium wp-image-46" title="powered by with debug" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-22-300x39.png" alt="" /></a></li>
</ol>
<p>Now if you did everything correct you will now have the debugger working with your MAMP Install.</p>
<p>Hope this was helpful.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/mamp/setting-up-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Setting up MAMP with Zend Debugger, Optimizer and Extension Manager</title>
		<link>http://jeremysimkins.com/mamp/setting-up-mamp-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/</link>
		<comments>http://jeremysimkins.com/mamp/setting-up-mamp-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 23:38:09 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[MAMP]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[debugger]]></category>
		<category><![CDATA[mamp and zend debugger]]></category>
		<category><![CDATA[mamp pro]]></category>
		<category><![CDATA[setting up the zend debugger]]></category>
		<category><![CDATA[setting up the zend debugger on mamp]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/wordpress/?p=31</guid>
		<description><![CDATA[It seems some are having trouble setting up the Zend Debugger so i wrote this after doing some testing to see why people are having this problem. I provide below how to do this in MAMP. This will also get rid of the :8888 at the end of the url as well. Download an install [...]]]></description>
			<content:encoded><![CDATA[<p>It seems some are having trouble setting up the Zend Debugger so i wrote this after doing some testing to see why people are having this problem. I provide below how to do this in MAMP. This will also get rid of the :8888 at the end of the url as well.</p>
<ol>
<li>Download an install the latest version of <a title="MAMP" href="http://www.mamp.info/en/download.html" target="_blank">MAMP</a></li>
<li> Install MAMP
<ul>
<li> Install MAMP Pro &#8211; I recommend this if you work on multiple projects, it is way easier than editing your hosts file and the http.conf every time</li>
<li>If you use MAMP Pro you will need to use <a title="This Tutorial" href="http://jeremysimkins.com/2008/09/29/setting-up-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/" target="_self">this tutorial</a></li>
</ul>
<p><span id="more-31"></span></li>
</ol>
<p><em><strong><span style="text-decoration: underline;">MAMP </span></strong> <strong>:</strong></em></p>
<ol>
<li>Go ahead and make sure that MAMP is working, go to localhost:8888/MAMP and select phpinfo()</li>
<li>Check the powered by image, this is the first image, it should look like this <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-101.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-32" title="Powered By Logo" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-101-300x47.png" alt="" /></a></li>
<li>Go to the MAMP Controller, Select Preferences. <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-11.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-33" title="MAMP Control Panel" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-11-300x242.png" alt="" /></a>
<ul>
<li>First lets get ride of the :8888 at the end of the url, Select &#8220;Ports&#8221; and then click on the &#8220;Set to default&#8221; option (this will get rid of the ports on the end of the url) <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-12.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-34" title="Ports before" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-12-300x242.png" alt="" /></a><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-13.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-35" title="Ports after" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-13-300x241.png" alt="" /></a></li>
<li>Select the PHP tab and check Zen Optimizer to use the optimizer &#8211;  <strong>(Optional) </strong><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-14.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-36" title="Select Optimizer" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-14-300x240.png" alt="" /></a></li>
<li>select &#8220;OK&#8221; and let the server restart</li>
</ul>
</li>
<li>Now go to localhost/MAMP and again select the phpinfo() option. Scroll down to the same image an now you should notice the Extension Manager and the Optimizer set (The Extension Manager will only be on here if you chose to check the optimizer in the step above) <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-15.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-37" title="Powered By Logo Next" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-15-300x41.png" alt="" /><br />
</a></li>
</ol>
<p><em><strong><span style="text-decoration: underline;">Now We can Setup the Debugger </span></strong> <strong>:</strong></em><br />
Now lets do the supposed hard part, lets turn on the debugger.</p>
<ol>
<li> Download the latest debugger. You can grab it from <a title="Zend Debugger" href="http://downloads.zend.com/pdt/server-debugger/" target="_blank">here</a> &#8211; (i downloaded darwin for my intel based mac book pro)
<ul>
<li>Take the file that was extracted and put it in the MAMP directory -<br />
<em><strong>/Applications/MAMP/bin/php5/zend/lib/</strong></em><br />
(i renamed the unzipped folder to ZendDebugger-5.2.14 so i will be using it through the rest of the tutorial, you can name the file whatever you want)</li>
</ul>
</li>
<li>The edits are the same for both MAMP and MAMP Pro. The only difference is where the files are located for each. I believe this is the area that is causing the confusion on setting up MAMP with the debugger.</li>
<li>The MOST important part of setting up the debugger is the folder structure. you will have to rename the version folder to the correct format.
<ul>
<li>The original folder name is &#8211; <strong>5_2_x_comp</strong> &#8211; you will need to rename it to &#8211; <strong>php-5.2.x</strong></li>
<li>The folder structure should be setup like this <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-1.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-54" title="folder structure" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-1.png" alt="" /></a></li>
</ul>
</li>
</ol>
<p><em><strong><span style="text-decoration: underline;">MAMP </span></strong> <strong>:</strong></em></p>
<ol>
<li>Open php.ini from <em><strong>/Applications/MAMP/conf/php5/ </strong></em>- (or 4 if using php4) <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-20.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-44" title="php.ini" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-20-300x166.png" alt="" /></a></li>
<li>Open the php.ini and scroll to the bottom of the file it should look something like this <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-21.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-45" title="php.ini old" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-21-300x279.png" alt="" /></a></li>
<li>You will want to add<br />
<blockquote><p>zend_extension_manager.debug_server=/Applications/MAMP/bin/php5/zend/lib/ZendDebugger-5.2.14<br />
zend_debugger.allow_hosts=127.0.0.1<br />
zend_debugger.expose_remotely=always</p>
<ul>
<li>The php.ini should look like this now <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-26.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-50" title="mamp php.ini after" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-26-300x283.png" alt="" /></a></li>
</ul>
</blockquote>
</li>
<li>Save the file and restart the server</li>
<li>Go to localhost/MAMP and choose phpinfo() and you should now see the debugger in the powered by image. <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-22.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-46" title="powered by with debug" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-22-300x39.png" alt="" /></a></li>
</ol>
<p><em><strong><span style="text-decoration: underline;">MAMP PRO </span></strong> <strong>:</strong></em></p>
<ol>
<li>Open the php.ini that is being used by MAMP Pro. Now the problem i had with this was i was using the php.ini from the MAMP Pro directory, that is not the correct one. To get to the correct php.ini you have to be in MAMP Pro and choose File -&gt; Edit Template then the appropriate ini file, i will be using php5.ini since i am using php5. <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-25.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-47" title="pro file select" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-25-300x146.png" alt="" /></a></li>
<li>Open the php.ini and scroll to the bottom of the file it should look something like this <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-23.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-48" title="pro ini before" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-23-300x248.png" alt="" /></a></li>
<li>You will want to add after the &#8220;MAMP_zend_optimizer_MAMP&#8221;<br />
<blockquote><p>zend_extension_manager.debug_server=/Applications/MAMP/bin/php5/zend/lib/ZendDebugger-5.2.14<br />
zend_debugger.allow_hosts=127.0.0.1<br />
zend_debugger.expose_remotely=always</p>
<ul>
<li>The php.ini should look like this now <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-24.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-49" title="pro ini after" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-24-300x249.png" alt="" /></a></li>
</ul>
</blockquote>
</li>
<li>Save the file and restart the server</li>
<li>Go to localhost/MAMP and choose phpinfo() and you should now see the debugger in the powered by image. <a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-22.png" rel="lightbox[31]"><img class="aligncenter size-medium wp-image-46" title="powered by with debug" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-22-300x39.png" alt="" /></a></li>
</ol>
<p>Now if you did everything correct you will now have the debugger working with your MAMP Install.</p>
<p>Hope this was helpful</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/mamp/setting-up-mamp-mamp-pro-with-zend-debugger-optimizer-and-extension-manager/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
	</channel>
</rss>

