<?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: Setting up MySQL 5 and PHP 5 under Mac OS X (Tiger)</title>
	<atom:link href="http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/</link>
	<description>Technology and Mac geekery. One part exuberance, two parts obsession.</description>
	<lastBuildDate>Sat, 06 Nov 2010 02:41:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kirt</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-146442</link>
		<dc:creator>Kirt</dc:creator>
		<pubDate>Sat, 16 May 2009 20:59:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-146442</guid>
		<description>Once you complete the process, if you experience a problem with calls to mysql_connect(...) causing Segmentation Fault errors, re-edit the /etc/httpd/httpd.conf file and comment out the old php4 module lines: &quot;LoadModule php4_module&quot; and &quot;AddModule mod_php4&quot;, then restart apache (sudo apachectl graceful). That should do the trick. It took me forever to figure that one out.</description>
		<content:encoded><![CDATA[<p>Once you complete the process, if you experience a problem with calls to mysql_connect(&#8230;) causing Segmentation Fault errors, re-edit the /etc/httpd/httpd.conf file and comment out the old php4 module lines: &#8220;LoadModule php4_module&#8221; and &#8220;AddModule mod_php4&#8243;, then restart apache (sudo apachectl graceful). That should do the trick. It took me forever to figure that one out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-145334</link>
		<dc:creator>Johnny</dc:creator>
		<pubDate>Mon, 15 Dec 2008 01:56:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-145334</guid>
		<description>Jeez,

I thought PHP was simple, I&#039;ve spent days trying to get PHP installed many different ways and all have failed.  I finally just compiled from source, what I should have done to start.</description>
		<content:encoded><![CDATA[<p>Jeez,</p>
<p>I thought PHP was simple, I&#8217;ve spent days trying to get PHP installed many different ways and all have failed.  I finally just compiled from source, what I should have done to start.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Resource Schmorgasborg</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-134343</link>
		<dc:creator>Resource Schmorgasborg</dc:creator>
		<pubDate>Thu, 25 Oct 2007 19:09:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-134343</guid>
		<description>[...] Command-Tab Ã‚Â» Setting up MySQL 5 and PHP 5 under Mac OS X [...]</description>
		<content:encoded><![CDATA[<p>[...] Command-Tab Ã‚Â» Setting up MySQL 5 and PHP 5 under Mac OS X [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-117385</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Tue, 03 Jul 2007 17:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-117385</guid>
		<description>Nevermind - I fixed it by adding the following 2 lines at the end of my httpd.conf file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

-I&#039;m new and inexperienced but I found this on phpmac.com so I&#039;m passing it on.</description>
		<content:encoded><![CDATA[<p>Nevermind &#8211; I fixed it by adding the following 2 lines at the end of my httpd.conf file:</p>
<p>AddType application/x-httpd-php .php<br />
AddType application/x-httpd-php-source .phps</p>
<p>-I&#8217;m new and inexperienced but I found this on phpmac.com so I&#8217;m passing it on.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shawn</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-117382</link>
		<dc:creator>Shawn</dc:creator>
		<pubDate>Tue, 03 Jul 2007 16:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-117382</guid>
		<description>I followed these instructions and now my PHP pages display as text.  My configuration worked previously with the default PHP version that came with OS 10.4.  Help?</description>
		<content:encoded><![CDATA[<p>I followed these instructions and now my PHP pages display as text.  My configuration worked previously with the default PHP version that came with OS 10.4.  Help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-113398</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 13 Jun 2007 21:06:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-113398</guid>
		<description>So I have installed MAMP, but want to use it for an Internal Intranet web server, not just locally. How do I get the Intranet to see my MAMP Apache Install instead of the one that ships with Mac OS X?</description>
		<content:encoded><![CDATA[<p>So I have installed MAMP, but want to use it for an Internal Intranet web server, not just locally. How do I get the Intranet to see my MAMP Apache Install instead of the one that ships with Mac OS X?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Collin</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-107467</link>
		<dc:creator>Collin</dc:creator>
		<pubDate>Wed, 16 May 2007 01:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-107467</guid>
		<description>If you want to add additional features, tweak the installation to your liking, or just get good at deploying a server, compiling everything yourself is the way to go.  (For example -- correct me if I&#039;m wrong -- the default Mac OS X installation of PHP doesn&#039;t come with the GD image library, which requires you to rebuild it.)  You&#039;d also want to compile and run MySQL and PHP on a server to run your shiny new code, and most production servers don&#039;t run double-click-to-launch environments because they have no GUI.

MAMP is pretty cool, though, saving lots of time if you just want to get rolling right away -- perhaps you&#039;ve got a project idea that simply can&#039;t wait for rather lengthy ./configure, make, make install :-)</description>
		<content:encoded><![CDATA[<p>If you want to add additional features, tweak the installation to your liking, or just get good at deploying a server, compiling everything yourself is the way to go.  (For example &#8212; correct me if I&#8217;m wrong &#8212; the default Mac OS X installation of PHP doesn&#8217;t come with the GD image library, which requires you to rebuild it.)  You&#8217;d also want to compile and run MySQL and PHP on a server to run your shiny new code, and most production servers don&#8217;t run double-click-to-launch environments because they have no GUI.</p>
<p>MAMP is pretty cool, though, saving lots of time if you just want to get rolling right away &#8212; perhaps you&#8217;ve got a project idea that simply can&#8217;t wait for rather lengthy ./configure, make, make install :-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: E.T.Cook</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-107424</link>
		<dc:creator>E.T.Cook</dc:creator>
		<pubDate>Tue, 15 May 2007 13:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-107424</guid>
		<description>Why again would we compile from scratch instead of MAMP?

I mean, the reason I ask is...if you need a tutorial to teach you how to compile something, you probably shouldn&#039;t be doing it...that and MAMP has been absolutely wonderful thus far...I have yet to run into an issue with it...although mod_rewrite does act a little funny on Macs from my experience.</description>
		<content:encoded><![CDATA[<p>Why again would we compile from scratch instead of MAMP?</p>
<p>I mean, the reason I ask is&#8230;if you need a tutorial to teach you how to compile something, you probably shouldn&#8217;t be doing it&#8230;that and MAMP has been absolutely wonderful thus far&#8230;I have yet to run into an issue with it&#8230;although mod_rewrite does act a little funny on Macs from my experience.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Collin</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-103264</link>
		<dc:creator>Collin</dc:creator>
		<pubDate>Thu, 26 Apr 2007 00:00:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-103264</guid>
		<description>Good question!  Xcode itself isn&#039;t necessary, but the Developer Tools package (which includes Xcode) is needed, as it contains the gcc compiler which builds PHP from the source code.  The default Mac OS X installation doesn&#039;t include gcc, so installation of the Developer Tools/Xcode is required.</description>
		<content:encoded><![CDATA[<p>Good question!  Xcode itself isn&#8217;t necessary, but the Developer Tools package (which includes Xcode) is needed, as it contains the gcc compiler which builds PHP from the source code.  The default Mac OS X installation doesn&#8217;t include gcc, so installation of the Developer Tools/Xcode is required.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogie</title>
		<link>http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/comment-page-1/#comment-103262</link>
		<dc:creator>Rogie</dc:creator>
		<pubDate>Wed, 25 Apr 2007 23:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.command-tab.com/2007/04/22/setting-up-mysql-5-and-php-5-under-mac-os-x/#comment-103262</guid>
		<description>Nice writeup...ahh the beauties of OSX.  By the way, I&#039;ve setup an IceCast Server on a Mac Mini and it is killlah.</description>
		<content:encoded><![CDATA[<p>Nice writeup&#8230;ahh the beauties of OSX.  By the way, I&#8217;ve setup an IceCast Server on a Mac Mini and it is killlah.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

