<?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: Mac OS X Installation Instructions That Don&#8217;t Suck! (Rails, Lighttpd, MySQL, Apache2, PHP5)</title>
	<atom:link href="http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/</link>
	<description></description>
	<lastBuildDate>Wed, 10 Mar 2010 11:21:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: bryan d</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-1801</link>
		<dc:creator>bryan d</dc:creator>
		<pubDate>Fri, 31 Aug 2007 03:42:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-1801</guid>
		<description>I have an up-to-date and working Rails environment as per the instructions at Hivelogic. However, when I followed the instructions for installing apache2 and php5 at PHPmac - throwing everything in my /usr/local folder - it still says PHP 4.4.7 when I type &quot;php -v&quot; in Terminal. Do I need to edit my path for PHP5 to be recognized? Thanks.</description>
		<content:encoded><![CDATA[<p>I have an up-to-date and working Rails environment as per the instructions at Hivelogic. However, when I followed the instructions for installing apache2 and php5 at PHPmac &#8211; throwing everything in my /usr/local folder &#8211; it still says PHP 4.4.7 when I type &#8220;php -v&#8221; in Terminal. Do I need to edit my path for PHP5 to be recognized? Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marnen Laibow-Koser</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-1781</link>
		<dc:creator>Marnen Laibow-Koser</dc:creator>
		<pubDate>Thu, 23 Aug 2007 16:26:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-1781</guid>
		<description>Apache 2 will not screw up the OS, and you can run it and Apache 1 side by side, as long as you use different ports.</description>
		<content:encoded><![CDATA[<p>Apache 2 will not screw up the OS, and you can run it and Apache 1 side by side, as long as you use different ports.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Josh</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-920</link>
		<dc:creator>Michael Josh</dc:creator>
		<pubDate>Mon, 30 Apr 2007 07:40:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-920</guid>
		<description>Hi Jim,

Another Mac user. I need to configure PHP, MySQL and MySQLi on my Mac for a class.

So far I&#039;ve got around to using the default Apache installation on OS X, with upgraded versions of PHP and MYSQL. 

However my professor wants to see my Apache error log (which I can&#039;t find). Since I&#039;m using the version of Apache that comes with the system Apache is hidden somewhere, unlike my new PHP and MYSQL installations which are now in /usr/local/. 

For more flexibility I&#039;ve been considering upgrading to Apache 2. I&#039;m afraid it can screw up the OS or something similar. Have you had any problems so far? What do I have to keep in mind to make sure the installation runs smoothly?

Also how can I following the PHPMAC instructions make sure that Apache 2 gets installed into the /usr/local/ directory?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Jim,</p>
<p>Another Mac user. I need to configure PHP, MySQL and MySQLi on my Mac for a class.</p>
<p>So far I&#8217;ve got around to using the default Apache installation on OS X, with upgraded versions of PHP and MYSQL. </p>
<p>However my professor wants to see my Apache error log (which I can&#8217;t find). Since I&#8217;m using the version of Apache that comes with the system Apache is hidden somewhere, unlike my new PHP and MYSQL installations which are now in /usr/local/. </p>
<p>For more flexibility I&#8217;ve been considering upgrading to Apache 2. I&#8217;m afraid it can screw up the OS or something similar. Have you had any problems so far? What do I have to keep in mind to make sure the installation runs smoothly?</p>
<p>Also how can I following the PHPMAC instructions make sure that Apache 2 gets installed into the /usr/local/ directory?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-750</link>
		<dc:creator>Bryan</dc:creator>
		<pubDate>Mon, 02 Apr 2007 20:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-750</guid>
		<description>Here&#039;s a question about the ~/.bash_login file. It seems that everytime I open a new Terminal window I have to run that command to get anything to work correctly. If I don&#039;t, its like I don&#039;t have Rails installed. Is that common, or did I install something incorrectly?

Bryan</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a question about the ~/.bash_login file. It seems that everytime I open a new Terminal window I have to run that command to get anything to work correctly. If I don&#8217;t, its like I don&#8217;t have Rails installed. Is that common, or did I install something incorrectly?</p>
<p>Bryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-108</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 11 Sep 2006 05:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-108</guid>
		<description>Chris,
I usually don&#039;t put my websites in the default Apache folder.  Instead, I edit my httpd.conf file to point to a different directory.  This is also helpful because it allows you to run more than one virtual site at the same time.

To edit the file, enter this in Terminal:

&lt;pre&gt;sudo nano /usr/local/apache2/conf/httpd.conf&lt;/pre&gt;

Then at the bottom of your configuration file, enter something like this:


&lt;pre&gt;NameVirtualHost 127.0.0.1

&lt;virtualhost 127.0.0.1&gt;
   ServerName sitename.local
   DocumentRoot /Path/To/Web/Files
   AddDefaultCharset utf-8
&lt;/virtualhost&gt;
&lt;/pre&gt;

More info on &lt;a href=&quot;http://httpd.apache.org/docs/1.3/vhosts/name-based.html&quot; rel=&quot;nofollow&quot;&gt;Name-based Virtual Hosts&lt;/a&gt;

For this to work, you&#039;ll also need to edit your hosts file.

&lt;pre&gt;sudo nano /etc/hosts&lt;/pre&gt;

Add your new, local domain name to this file near the top, like this:

&lt;pre&gt;127.0.0.1       sitename.local&lt;/pre&gt;

Good Luck!
Jim</description>
		<content:encoded><![CDATA[<p>Chris,<br />
I usually don&#8217;t put my websites in the default Apache folder.  Instead, I edit my httpd.conf file to point to a different directory.  This is also helpful because it allows you to run more than one virtual site at the same time.</p>
<p>To edit the file, enter this in Terminal:</p>
<pre>sudo nano /usr/local/apache2/conf/httpd.conf</pre>
<p>Then at the bottom of your configuration file, enter something like this:</p>
<pre>NameVirtualHost 127.0.0.1

&lt;virtualhost 127.0.0.1&gt;
   ServerName sitename.local
   DocumentRoot /Path/To/Web/Files
   AddDefaultCharset utf-8
&lt;/virtualhost&gt;
</pre>
<p>More info on <a href="http://httpd.apache.org/docs/1.3/vhosts/name-based.html" rel="nofollow">Name-based Virtual Hosts</a></p>
<p>For this to work, you&#8217;ll also need to edit your hosts file.</p>
<pre>sudo nano /etc/hosts</pre>
<p>Add your new, local domain name to this file near the top, like this:</p>
<pre>127.0.0.1       sitename.local</pre>
<p>Good Luck!<br />
Jim</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-107</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Sat, 09 Sep 2006 16:45:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-107</guid>
		<description>I&#039;m wondering where I will put my server pages if I install Apache2 in usr/local? If it&#039;s in a &quot;hidden&quot; directory, how do I get to the htdocs directory?</description>
		<content:encoded><![CDATA[<p>I&#8217;m wondering where I will put my server pages if I install Apache2 in usr/local? If it&#8217;s in a &#8220;hidden&#8221; directory, how do I get to the htdocs directory?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-30</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Tue, 13 Jun 2006 10:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-30</guid>
		<description>Bill,
Like in all *nix systems, Terminal sessions are opened in the user&#039;s home directory (ex, /Users/bill/).  This home directory is aliased by the ~ symbol, so ~/Desktop would be the same as /Users/bill/Desktop.

Yes, OS X does have a different directory structure than, say, FreeBSD or Linux.  For example, in Ubuntu Linux the user&#039;s home directory is at /home/username.  They also added directories like Applications and Library that are not standard *nix directories.  As a general rule, Apple&#039;s custom directories are the ones that are not hidden.  Most of the standard *nix directories are there, just hidden.</description>
		<content:encoded><![CDATA[<p>Bill,<br />
Like in all *nix systems, Terminal sessions are opened in the user&#8217;s home directory (ex, /Users/bill/).  This home directory is aliased by the ~ symbol, so ~/Desktop would be the same as /Users/bill/Desktop.</p>
<p>Yes, OS X does have a different directory structure than, say, FreeBSD or Linux.  For example, in Ubuntu Linux the user&#8217;s home directory is at /home/username.  They also added directories like Applications and Library that are not standard *nix directories.  As a general rule, Apple&#8217;s custom directories are the ones that are not hidden.  Most of the standard *nix directories are there, just hidden.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bill d</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-28</link>
		<dc:creator>bill d</dc:creator>
		<pubDate>Tue, 13 Jun 2006 00:12:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-28</guid>
		<description>Since OS X has hidden the file structure from the &quot;average&quot; user, I would assume that the user/local directory is the default directory when Terminal is opened?

Or is it another directory.  Maybe I need a crash corse on OS X directory structure.  And BTW: Did OS X change some of the directory structure of *nix?</description>
		<content:encoded><![CDATA[<p>Since OS X has hidden the file structure from the &#8220;average&#8221; user, I would assume that the user/local directory is the default directory when Terminal is opened?</p>
<p>Or is it another directory.  Maybe I need a crash corse on OS X directory structure.  And BTW: Did OS X change some of the directory structure of *nix?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jim</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-25</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 12 Jun 2006 09:15:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-25</guid>
		<description>Bill,
Whenever you&#039;re dealing with hidden files in OS X, it&#039;s best to just use Terminal to view them.

ls - a 

This will show you all files in a directory (including hidden ones).

nano

Nano is your best friend when editing configuration files.  (ex. nano ~/.bash_login )

Don&#039;t ever use TextEdit to edit these files as it generally saves them as RTF files, and that&#039;ll really mess things up!</description>
		<content:encoded><![CDATA[<p>Bill,<br />
Whenever you&#8217;re dealing with hidden files in OS X, it&#8217;s best to just use Terminal to view them.</p>
<p>ls &#8211; a </p>
<p>This will show you all files in a directory (including hidden ones).</p>
<p>nano</p>
<p>Nano is your best friend when editing configuration files.  (ex. nano ~/.bash_login )</p>
<p>Don&#8217;t ever use TextEdit to edit these files as it generally saves them as RTF files, and that&#8217;ll really mess things up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bill d</title>
		<link>http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/comment-page-1/#comment-24</link>
		<dc:creator>bill d</dc:creator>
		<pubDate>Sun, 11 Jun 2006 15:44:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.starryhope.com/web-authoring/2006/mac-os-x-install-instructions-that-dont-suck-rails-lighttpd-mysql-apache2-php5/#comment-24</guid>
		<description></description>
		<content:encoded><![CDATA[<p>Jim,<br />
I read a related article on &#8220;Hivelogic&#8221; about from the page you link to above.  It says the following:<br />
&#8220;Set The Path<br />
By default, tell the system to look in /usr/local for files first by editing your path. On Mac OS X, either create or edit a file called .bash_login in your home folder (note the ?.?, it??s a hidden file) and add the following line to it:<br />
export PATH=&#8221;/usr/local/bin:/usr/local/sbin:$PATH&#8221; &#8221;</p>
<p>Problem is is that I don&#8217;t know now to view hidden files.  Also, once I can &#8220;see&#8221; the file how do I open to edit it?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
