<?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</title>
	<atom:link href="http://jeremysimkins.com/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>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Simple PHP WWW redirect</title>
		<link>http://jeremysimkins.com/php/simple-php-redirect/</link>
		<comments>http://jeremysimkins.com/php/simple-php-redirect/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 00:36:17 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[free php script]]></category>
		<category><![CDATA[php redirect]]></category>
		<category><![CDATA[php script]]></category>
		<category><![CDATA[php www redirect]]></category>
		<category><![CDATA[redirects]]></category>

		<guid isPermaLink="false">http://son9ne.com/?p=110</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p>With SEO being an important factor in wed design, it is recommended to use either WWW or non-WWW for your site URL; it is not wise to use both. This can easily be done by using .htaccess. There are situation when using .htaccess is not possible and the only means to do the redirect is by using PHP. I have recently found myself in this situation and I decided to post this simple code snippet that will redirect non-WWW URL’s to the WWW URL.<br />
The code is:</p>
<pre class="brush:php">
// Check if we need to perform a redirect
$fetchedURL = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : '';
if (substr($fetchedURL,0,4) != 'www.') { // Make sure the URL does not use www.
    // Let do the redirect
     header( "HTTP/1.1 301 Moved Permanently" );
     header('Location: http://www.'.$fetchedURL.((isset($_SERVER['REQUEST_URI'])) ? $_SERVER['REQUEST_URI'] : '')); // Append the REQUEST_URI
}
</pre>
<p>The code is very simple and is documented. I hope some may be able to make use of this script.<br />
The above code will take the provided URL and forward it to the WWW URL. This will retain the full URL path. I.E.:  http://son9ne.com/index.php?somevar=somevalue will be changed to http://www.son9ne.com/index.php?somevar=somevalue</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/php/simple-php-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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[MAMP]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Zend]]></category>
		<category><![CDATA[php]]></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[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 [...]]]></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>0</slash:comments>
		</item>
		<item>
		<title>Removing .svn directories from a folder in Terminal</title>
		<link>http://jeremysimkins.com/mac/removing-svn-directories-from-a-folder-in-terminal/</link>
		<comments>http://jeremysimkins.com/mac/removing-svn-directories-from-a-folder-in-terminal/#comments</comments>
		<pubDate>Wed, 07 Jan 2009 00:25:17 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/wordpress/?p=77</guid>
		<description><![CDATA[Well i was trying to find a way to remove all the .svn files from a directory on OSx.
I found this code worked the best for fully removing all .svn files recursively.
find . -name .svn -print0 &#124; xargs -0 rm -rf
Remember to cd to the directory you are wanting to remove the .svn files from.
cd [...]]]></description>
			<content:encoded><![CDATA[<p>Well i was trying to find a way to remove all the .svn files from a directory on OSx.<br />
I found this code worked the best for fully removing all .svn files recursively.</p>
<p><em><strong><code>find . -name .svn -print0 | xargs -0 rm -rf</code></strong></em></p>
<p>Remember to cd to the directory you are wanting to remove the .svn files from.</p>
<p><em><strong><code>cd Sites/project</code></strong></em></p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/mac/removing-svn-directories-from-a-folder-in-terminal/feed/</wfw:commentRss>
		<slash:comments>0</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 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 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>3</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 the [...]]]></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>4</slash:comments>
		</item>
		<item>
		<title>Windows XP SP3 breaking Microsoft Updates fix</title>
		<link>http://jeremysimkins.com/windows/windows-xp-sp3-breaking-microsoft-updates-fix/</link>
		<comments>http://jeremysimkins.com/windows/windows-xp-sp3-breaking-microsoft-updates-fix/#comments</comments>
		<pubDate>Mon, 22 Sep 2008 16:41:41 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[micorsoft]]></category>
		<category><![CDATA[updates won't install]]></category>
		<category><![CDATA[windows sucks]]></category>
		<category><![CDATA[windows update]]></category>
		<category><![CDATA[windows update not working]]></category>
		<category><![CDATA[Windows XP SP3]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/wordpress/?p=17</guid>
		<description><![CDATA[Since Microsoft can&#8217;t get their head out of their ass i thought i would post this fix here. If you update to SP3 and you can no longer install updates from the windows update system you will need to register the wups2.dll file.

The file is located in c:/windows/system32/




double click wups2.dll and choose &#8220;Open With&#8221;

Now Choose [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp mceIEcenter" style="text-align: center;">
<h5 style="text-align: left;">Since Microsoft can&#8217;t get their head out of their ass i thought i would post this fix here. If you update to SP3 and you can no longer install updates from the windows update system you will need to register the wups2.dll file.</h5>
<p><span id="more-17"></span></p>
<p style="text-align: left;">The file is located in c:/windows/system32/</p>
<dl id="attachment_18" class="wp-caption aligncenter" style="width: 310px;">
<dt class="wp-caption-dt"><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-3.png" rel="lightbox[17]"><img class="size-medium wp-image-18" title="picture-3" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-3-300x223.png" alt="wups2.dll" width="300" height="223" /></a></dt>
</dl>
</div>
<p style="text-align: left;">double click wups2.dll and choose &#8220;Open With&#8221;<br />
<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-4.png" rel="lightbox[17]"><img class="size-medium wp-image-19 aligncenter" title="picture-4" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-4-300x205.png" alt="" width="300" height="205" /></a></p>
<h5 style="text-align: left;">Now Choose &#8220;Select the program from a list&#8221; and hit &#8220;OK&#8221;</h5>
<p style="text-align: center;"><img class="alignnone size-medium wp-image-20" title="picture-5" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-5-300x205.png" alt="" width="300" height="205" /></p>
<h5 style="text-align: left;">Now Click on &#8220;Browse&#8221;</h5>
<p style="text-align: center;"><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-6.png" rel="lightbox[17]"><img class="alignnone size-medium wp-image-21" title="picture-6" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-6-251x300.png" alt="" width="251" height="300" /></a></p>
<p style="text-align: left;">A window will pop up now for you to choose the path to the file to open with.<br />
Click on &#8220;My Computer&#8221;<br />
Then choose your C drive<br />
Next choose your Windows folder<br />
And then your system32 folder.</p>
<p style="text-align: left;">Inside the system 32 folder is a program called &#8220;regsvr32&#8243; Choose and open that program.</p>
<p style="text-align: center;"><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-8.png" rel="lightbox[17]"><img class="aligncenter size-medium wp-image-22" title="picture-8" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-8-300x235.png" alt="" width="300" height="235" /></a></p>
<p style="text-align: left;">Now it will take you back to the Open with screen and you should see &#8220;Microsoft(C) Register Server in the List.<br />
<a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-9.png" rel="lightbox[17]"><img class="aligncenter size-medium wp-image-23" title="picture-9" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-9-250x300.png" alt="" width="250" height="300" /><br />
</a>Choose OK and you should see a success screen.</p>
<p style="text-align: center;"><a href="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-10.png" rel="lightbox[17]"><img class="alignnone size-medium wp-image-24" title="picture-10" src="http://jeremysimkins.com/wp-content/uploads/2008/09/picture-10-300x97.png" alt="" width="300" height="97" /></a></p>
<p style="text-align: left;">That is it!</p>
<p style="text-align: left;">Now you can use Windows update again and your updates will install this time.</p>
<p style="text-align: left;">Hope this was helpful to some.</p</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/windows/windows-xp-sp3-breaking-microsoft-updates-fix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MPS and SweetCron</title>
		<link>http://jeremysimkins.com/mps/mps-and-sweetcron/</link>
		<comments>http://jeremysimkins.com/mps/mps-and-sweetcron/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 23:36:18 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[MPS]]></category>
		<category><![CDATA[community]]></category>
		<category><![CDATA[ecken]]></category>
		<category><![CDATA[jadestone]]></category>
		<category><![CDATA[mods]]></category>
		<category><![CDATA[my profile space]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpbb]]></category>
		<category><![CDATA[social network]]></category>
		<category><![CDATA[son9ne]]></category>
		<category><![CDATA[sonyne]]></category>
		<category><![CDATA[SweetCron]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[videopixil]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/wordpress/?p=13</guid>
		<description><![CDATA[I have been working on an open source program called MPS (My Profile Space) for phpBB forums for a couple years now. This has been a project that I worked on in my spare time, so when i say I have been working on it for a couple years, please bear with me. MPS is [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on an open source program called <a title="MPS" href="http://www.mpsmod.com" target="_blank">MPS </a>(My Profile Space) for <a title="phpBB" href="http://phpbb.com" target="_blank">phpBB </a>forums for a couple years now. This has been a project that I worked on in my spare time, so when i say I have been working on it for a couple years, please bear with me. MPS is a social network for phpBB forums that originally started out as a new profile system for phpBB. With my job being as hectic as it has been lately I have had to push MPS to the back burner for far too long.  With the release of <a title="SweetCron" href="http://sweetcron.com/" target="_blank">SweetCron</a>, this has given me a new direction to take my MPS project. The new direction I am planning to go with MPS is to not only improve MPS on the phpBB3 platform but to also integrate SweetCron into MPS.  A blog is one feature MPS has been lacking for some time now and theblogmod was just too much to use, not to mention it was buggy and got spammed. I am hoping that by integrating SweetCron this will allow users to have more of a social network/forum and help keep users on their sites, also helping boost their results in search engines as well.</p>
<p>SweetCron is a very nice system, though it has many flaws(but hey, its still a BETA ;) ) it is a great system for improvement and leaves a lot to develop for a programmer and a lot to design for a designer. I have seen a few themes for sweetcron already and let me say that these sites are my favorite, <a title="Ecken" href="http://me.noeruiz.com/" target="_blank">Ecken</a> and <a title="VideoPixil" href="http://me.impedro.com/" target="_blank">VideoPixil</a>, not only because I know these guys but because their work is seriously awesome. They have this site here for their SweetCron theme releases, <a title="Cron Themes" href="http://cronthemes.com/" target="_blank">Cron Themes</a>.</p>
<p>I will be keeping this site updated with the progress of MPS as more is developed. The main purpose of this post is to inform that MPS will be integrating Sweetcron into it.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/mps/mps-and-sweetcron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use one SweetCron install for multiple domains</title>
		<link>http://jeremysimkins.com/sweetcron/use-one-sweetcron-install-for-multiple-domains/</link>
		<comments>http://jeremysimkins.com/sweetcron/use-one-sweetcron-install-for-multiple-domains/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 05:58:50 +0000</pubDate>
		<dc:creator>SoN9ne</dc:creator>
				<category><![CDATA[SweetCron]]></category>
		<category><![CDATA[config]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[son9ne]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://jeremysimkins.com/wordpress/?p=3</guid>
		<description><![CDATA[Well,
After playing with sweetcron for a bit I wanted to have 4 sites use it but I didn&#8217;t want to have to update each site everytime I need to update sweetcron. I found a little tweak you can do to get sweetcron working on multple domains with one install.

First, create the folder and put the [...]]]></description>
			<content:encoded><![CDATA[<p>Well,</p>
<p>After playing with sweetcron for a bit I wanted to have 4 sites use it but I didn&#8217;t want to have to update each site everytime I need to update sweetcron. I found a little tweak you can do to get sweetcron working on multple domains with one install.<br />
<span id="more-4"></span><br />
First, create the folder and put the files in there from the sweetcron download.</p>
<p>Next, point a domain to that folder ( i am assuming you already know how to create domains and already know how to point your domains to a folder on your server)</p>
<p>Next, point the second domain to that same folder. (at this point you will notice both domains are identical and use the same sweetcron.)</p>
<p>Now we are ready to get each site using its own sweetcron.</p>
<p>First, open <em>/system/applications/config/config.php<br />
</em>you will want to change<br />
&#8220;<em>$config['base_url']    = &#8220;http://www.your-site.com/&#8221;;&#8221;<br />
to<br />
&#8220;$url = $_SERVER['SERVER_NAME'];<br />
$config['base_url']    = &#8216;http://&#8217;.$url.&#8217;/';&#8221;</em></p>
<div id="attachment_4" class="wp-caption aligncenter" style="width: 310px"><a href="http://jeremysimkins.com/wp-content/uploads/2008/08/picture-2.png" rel="lightbox[4]"><img class="size-medium wp-image-4" title="config.php" src="http://jeremysimkins.com/wp-content/uploads/2008/08/picture-2-300x108.png" alt="config.php screenshot" width="300" height="108" /></a><p class="wp-caption-text">config.php </p></div>
<p>This will keep the scope correct for which domain you com in from.</p>
<p>Second, open <em>/system/applications/config/database.php<br />
</em>now since we are using multiple domains we will want to create a switch so we can pull the correct data for each domain. I could not get the database prefix to work for me on this setup and I didn&#8217;t bother to look into it since I just used different databases for each site. So I created a switch off of the given domain and set the appropriate database to use.</p>
<div id="attachment_5" class="wp-caption aligncenter" style="width: 273px"><a href="http://jeremysimkins.com/wp-content/uploads/2008/08/picture-3.png" rel="lightbox[4]"><img class="size-medium wp-image-5" title="database.php" src="http://jeremysimkins.com/wp-content/uploads/2008/08/picture-3-263x300.png" alt="database.php screenshot" width="263" height="300" /></a><p class="wp-caption-text">database.php </p></div>
<p>Now you are able to have multiple sites point to one install of sweetcron.</p>
<p><em><strong>** NOTE **</strong></em><br />
I had one issue with install on this. I could not get the database prefix to work correctly with sweetcron. I&#8217;m not sure why but i didn&#8217;t spend anytime looking into it either. It was just as easy for me to use different databases for each domain.  In theory you could do the same switch on the database prefix instead of the database name.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeremysimkins.com/sweetcron/use-one-sweetcron-install-for-multiple-domains/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
