<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Building a Drupal development environment for Mac</title>
	<atom:link href="http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=building-a-drupal-development-environment-for-mac</link>
	<description>Design, Web Development, and Interesting Technology</description>
	<lastBuildDate>Sun, 13 Jun 2010 19:34:36 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Michael</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-791</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Tue, 20 Apr 2010 20:53:19 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-791</guid>
		<description>cynthia,

It&#039;s been a while since I wrote the script so please do some testing, but I do not believe that your reading of the script is correct.  If you had a directory called &quot;sites/dog&quot;, then the script should call http://dog/cron.php.  It is up to you to set up your Apache configuration to understand what dog is.   Am I misunderstanging your meaning here?

If you use the &quot;default&quot; folder, then the script will use whatever you put in the $masterDomainName variable to call the cron script.  So let&#039;s say that you had &quot;sites/default/dog&quot;, then the script would call http://$masterDomainName/dog/cron.php.  So it can do subdomains that way.  

But yes, if you want to host sub domains as sub.domainname.com, then that subdomain needs to be labled as such.  The Drupal documentation had this naming convention as a &quot;best practice&quot;, so that&#039;s what I followed.

This script was built to do dev work locally.  It was assumed that Drupal used relative paths, and that this will all take care of itself when moving the site.  I&#039;m unaware of any need to edit the database when moving, but maybe that just because of how I&#039;m using it.

If the &quot;patch&quot; you&#039;re talking about is a module, please post back and let me know what it is.  I&#039;d love to take a look at it.

I hope this helps.
M</description>
		<content:encoded><![CDATA[<p>cynthia,</p>
<p>It&#8217;s been a while since I wrote the script so please do some testing, but I do not believe that your reading of the script is correct.  If you had a directory called &#8220;sites/dog&#8221;, then the script should call <a href="http://dog/cron.php" rel="nofollow">http://dog/cron.php</a>.  It is up to you to set up your Apache configuration to understand what dog is.   Am I misunderstanging your meaning here?</p>
<p>If you use the &#8220;default&#8221; folder, then the script will use whatever you put in the $masterDomainName variable to call the cron script.  So let&#8217;s say that you had &#8220;sites/default/dog&#8221;, then the script would call <a href="http://$masterDomainName/dog/cron.php" rel="nofollow">http://$masterDomainName/dog/cron.php</a>.  So it can do subdomains that way.  </p>
<p>But yes, if you want to host sub domains as sub.domainname.com, then that subdomain needs to be labled as such.  The Drupal documentation had this naming convention as a &#8220;best practice&#8221;, so that&#8217;s what I followed.</p>
<p>This script was built to do dev work locally.  It was assumed that Drupal used relative paths, and that this will all take care of itself when moving the site.  I&#8217;m unaware of any need to edit the database when moving, but maybe that just because of how I&#8217;m using it.</p>
<p>If the &#8220;patch&#8221; you&#8217;re talking about is a module, please post back and let me know what it is.  I&#8217;d love to take a look at it.</p>
<p>I hope this helps.<br />
M</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cynthia</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-790</link>
		<dc:creator>cynthia</dc:creator>
		<pubDate>Tue, 20 Apr 2010 02:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-790</guid>
		<description>I&#039;ve finished reading your instructions re setting up cron for multisite.  Am I right in concluding that your script requires that the actual domain name must be used for the /sites/domain.com folders?  That can be nasty for those doing local dev of a site.  Wish it could be called from the the virtual hosts file instead.  There&#039;s already a patch available for D6 that allows one to use the same name on both a local dev site and remotely hosted production site to enable pain-free file transfers, with no need to get into the database to change file paths/naming conventions.  That same feature will be avail in D7, I am told.  So you can use something like &quot;dog&quot; on both live and dev --&gt; sites/dog  multisite folders while the array in the patch works the magic that points the browser to the right url.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve finished reading your instructions re setting up cron for multisite.  Am I right in concluding that your script requires that the actual domain name must be used for the /sites/domain.com folders?  That can be nasty for those doing local dev of a site.  Wish it could be called from the the virtual hosts file instead.  There&#8217;s already a patch available for D6 that allows one to use the same name on both a local dev site and remotely hosted production site to enable pain-free file transfers, with no need to get into the database to change file paths/naming conventions.  That same feature will be avail in D7, I am told.  So you can use something like &#8220;dog&#8221; on both live and dev &#8211;&gt; sites/dog  multisite folders while the array in the patch works the magic that points the browser to the right url.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: robes</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-738</link>
		<dc:creator>robes</dc:creator>
		<pubDate>Tue, 30 Mar 2010 16:30:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-738</guid>
		<description>cool news.

robes</description>
		<content:encoded><![CDATA[<p>cool news.</p>
<p>robes</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martian Thoughts on Design &#187; Blog Archive &#187; Updating Drupal MultiSite on OS X - Design, Web Development, and Interesting Technology</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-594</link>
		<dc:creator>Martian Thoughts on Design &#187; Blog Archive &#187; Updating Drupal MultiSite on OS X - Design, Web Development, and Interesting Technology</dc:creator>
		<pubDate>Mon, 01 Mar 2010 21:06:27 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-594</guid>
		<description>[...] continuing on with the tutorials for the Drupal Multi-Site configuration that I set up on my Mac. All the domain and directory structure is based on that tutorial, so if [...]</description>
		<content:encoded><![CDATA[<p>[...] continuing on with the tutorials for the Drupal Multi-Site configuration that I set up on my Mac. All the domain and directory structure is based on that tutorial, so if [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-500</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 07 Jan 2010 22:40:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-500</guid>
		<description>Kellie,

Setting up PHP and MySQL aren&#039;t really that difficult on Mac.  The easiest way to get PHP is to go to http://www.entropy.ch/software/macosx/php/ where Marc Liyanage rolls packages that are easy to install.  If you&#039;re on OS X 10.4 you&#039;ll need to use the PHP 5.2.4 he has there.  I wouldn&#039;t host any production sites on that version of PHP because it&#039;s missing quite a few security updates, but at least you&#039;d be able to develop on it.

For MySQL you can get a downloadable package of MySQL at http://dev.mysql.com/downloads/ Sorry I haven&#039;t had a chance to work on my tutorial for setting that up, but the downloadable package should get you going.  My setup is more about securing MySQL and making it easy to upgrade in the future.  

If you&#039;re hosting your site through an outside provider, I recommend that you check which version of MySQL and PHP they&#039;re using, and at least stick in the same major revision.  So, PHP 5.2.x or MySQL 5.1.x.

Good luck.</description>
		<content:encoded><![CDATA[<p>Kellie,</p>
<p>Setting up PHP and MySQL aren&#8217;t really that difficult on Mac.  The easiest way to get PHP is to go to <a href="http://www.entropy.ch/software/macosx/php/" rel="nofollow">http://www.entropy.ch/software/macosx/php/</a> where Marc Liyanage rolls packages that are easy to install.  If you&#8217;re on OS X 10.4 you&#8217;ll need to use the PHP 5.2.4 he has there.  I wouldn&#8217;t host any production sites on that version of PHP because it&#8217;s missing quite a few security updates, but at least you&#8217;d be able to develop on it.</p>
<p>For MySQL you can get a downloadable package of MySQL at <a href="http://dev.mysql.com/downloads/" rel="nofollow">http://dev.mysql.com/downloads/</a> Sorry I haven&#8217;t had a chance to work on my tutorial for setting that up, but the downloadable package should get you going.  My setup is more about securing MySQL and making it easy to upgrade in the future.  </p>
<p>If you&#8217;re hosting your site through an outside provider, I recommend that you check which version of MySQL and PHP they&#8217;re using, and at least stick in the same major revision.  So, PHP 5.2.x or MySQL 5.1.x.</p>
<p>Good luck.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kellie</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-499</link>
		<dc:creator>Kellie</dc:creator>
		<pubDate>Tue, 05 Jan 2010 18:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-499</guid>
		<description>Oh goodness. I am beginning again, trying to learn Drupal so I can build sites in a CMS. After reading the very beginning of your explanations, I realize I am probably beneath beginner...

I need to set up Drupal on a Mac for multiple sites. I&#039;m still on 10.4 and have only used html and a little bit of CSS, very little. So I&#039;m truly starting from the ground up.

When I got to this sentence: &quot;You have MySQL 5.0+ and PHP 5.2+ already set up on your machine.&quot; I realized I was already in trouble.

I was trying to determine if it would be better/easier for me to install an additional internal drive with the latest system on it to use strictly for web development. Maybe then the drupal setup on a Mac would be a little more straightforward. I have a feeling I know the answer, but I had to ask anyway...</description>
		<content:encoded><![CDATA[<p>Oh goodness. I am beginning again, trying to learn Drupal so I can build sites in a CMS. After reading the very beginning of your explanations, I realize I am probably beneath beginner&#8230;</p>
<p>I need to set up Drupal on a Mac for multiple sites. I&#8217;m still on 10.4 and have only used html and a little bit of CSS, very little. So I&#8217;m truly starting from the ground up.</p>
<p>When I got to this sentence: &#8220;You have MySQL 5.0+ and PHP 5.2+ already set up on your machine.&#8221; I realized I was already in trouble.</p>
<p>I was trying to determine if it would be better/easier for me to install an additional internal drive with the latest system on it to use strictly for web development. Maybe then the drupal setup on a Mac would be a little more straightforward. I have a feeling I know the answer, but I had to ask anyway&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-258</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Thu, 05 Nov 2009 20:35:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-258</guid>
		<description>You&#039;re totally welcome.  I knew there had to be a better way when I saw the ones at Drupal.org, so I just tried to create it.  Glad to hear it&#039;s working for you.</description>
		<content:encoded><![CDATA[<p>You&#8217;re totally welcome.  I knew there had to be a better way when I saw the ones at Drupal.org, so I just tried to create it.  Glad to hear it&#8217;s working for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-253</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 05 Nov 2009 15:18:50 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-253</guid>
		<description>Thank you so much for the cronall.php script. It works great!</description>
		<content:encoded><![CDATA[<p>Thank you so much for the cronall.php script. It works great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Article Rewriter</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-183</link>
		<dc:creator>Article Rewriter</dc:creator>
		<pubDate>Wed, 28 Oct 2009 07:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-183</guid>
		<description>In, but it should be a great starting point for any one new to this environment. Article Rewriter</description>
		<content:encoded><![CDATA[<p>In, but it should be a great starting point for any one new to this environment. Article Rewriter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://blogs.martiangraphix.com/2009/09/building-a-drupal-development-environment-for-mac/comment-page-1/#comment-125</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 26 Oct 2009 14:42:58 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.martiangraphix.com/?p=12#comment-125</guid>
		<description>Absolutely.  I would appreciate the link.  Getting the word out would definitely be helpful.</description>
		<content:encoded><![CDATA[<p>Absolutely.  I would appreciate the link.  Getting the word out would definitely be helpful.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
