<?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>Nicholas C. Johnson &#187; Apple</title>
	<atom:link href="http://www.nicholascjohnson.com/blog/category/apple/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nicholascjohnson.com/blog</link>
	<description></description>
	<lastBuildDate>Mon, 14 Sep 2009 02:10:59 +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>MySQL 5.1, PHP 5.3, and Mac OS X 10.6</title>
		<link>http://www.nicholascjohnson.com/blog/2009/09/13/mysql-5-1-php-5-3-and-mac-os-x-10-6/</link>
		<comments>http://www.nicholascjohnson.com/blog/2009/09/13/mysql-5-1-php-5-3-and-mac-os-x-10-6/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 02:10:59 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=165</guid>
		<description><![CDATA[After upgrading to Snow Leopard (Mac OS X 10.6) I found that my local MySQL [...]]]></description>
			<content:encoded><![CDATA[<p>After upgrading to Snow Leopard (Mac OS X 10.6) I found that my local MySQL installation no longer worked. Also, my local Apache server using PHP 5.2 no longer interpreted .html files as PHP as I&#8217;d set up before. I did some digging and came up with the following things to get it working again. Hope this helps.</p>
<h3>MySQL</h3>
<p>There isn&#8217;t a MySQL installer package for Snow Leopard yet so you&#8217;ll have to build it from source. (I know, really scary sounding, huh. I hadn&#8217;t compiled anything before this and was intimidated. But it&#8217;s easy. Promise.) Follow <a title="Compile MySQL from source" href="http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/">this extremely easy-to-follow tutorial</a> by <a title="About Dan Benjamin" href="http://hivelogic.com/about">Dan Benjamin</a> and then come right back here for the rest.</p>
<h3>Apache &amp; PHP</h3>
<p>Welcome back. By now you should be able to connect to your shiny new MySQL instance. Now, if you load any PHP pages that use any of the date functions you&#8217;ll see this error (or something similar):</p>
<p><code>Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier.</code></p>
<p>PHP 5.3 now requires the timezone to be specified instead of trying to guess at it.</p>
<ol>
<li>Open Terminal (/Applications/Utilities/Terminal).</li>
<li>Copy the built-in <code>php.ini.default</code> file to <code>php.ini</code> by typing <code>sudo cp php.ini.default php.ini</code> and pressing Return. Supply your password.</li>
<li>Edit <code>php.ini</code> by typing <code>sudo open php.ini</code>. It should open in your default text editor.</li>
<li>Search the file for the phrase &#8220;timezone&#8221;.  You&#8217;ll find a line that reads <code>;date.timezone =</code>. Change it to <code>date.timezone = America/Denver</code> (or whatever timezone you choose from <a href="http://us3.php.net/manual/en/timezones.php">this list</a>). Remember to delete the semicolon from the beginning of the line.</li>
<li>Because of some code I share with colleagues, I ended up needing to restore the <code>short_open_tag</code> attribute by finding that phrase and setting the value to <code>On</code>.</li>
<li>Also, MySQL couldn&#8217;t connect to anything until I commented out the <code>mysql.default_socket</code> property by placing a semicolon at the beginning of the line. This lets it use the built-in value instead.</li>
<li>After making these changes to your <code>php.ini</code> file you need to restart Apache to get it to read the new values in. In Terminal type <code>sudo apachectl graceful</code> and test your local php code in your browser.</li>
</ol>
<p>Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2009/09/13/mysql-5-1-php-5-3-and-mac-os-x-10-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunes 7.1 — Now with full-screen coverflow!</title>
		<link>http://www.nicholascjohnson.com/blog/2007/03/05/itunes-71-%e2%80%94-now-with-full-screen-coverflow/</link>
		<comments>http://www.nicholascjohnson.com/blog/2007/03/05/itunes-71-%e2%80%94-now-with-full-screen-coverflow/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 03:22:06 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/2007/03/05/itunes-71-%e2%80%94-now-with-full-screen-coverflow/</guid>
		<description><![CDATA[A few months ago I wrote an article about a not-so-spectacular release of iTunes 7.0. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.nicholascjohnson.com/blog/wp-content/uploads/2007/03/coverflow1.jpg" style="margin: 0pt 12px 6px 0pt; float: left" alt="iTunes 7.1 full-screen coverflow" />A few months ago I wrote <a href="http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet/">an article</a> about a not-so-spectacular release of <a href="http://www.apple.com/itunes/">iTunes</a> 7.0. The main problems were with the way it presented coverflow on a Windows XP machine with an atypical video card and the gapless-playback feature that locked up hard drives while processing large libraries. Apple released some .0x patches and since then iTunes has been stable.</p>
<p>Today I updated to version 7.1 and I am <em>impressed</em>. Full-screen coverflow is ridiculously cool. It&#8217;s not really that helpful of a feature but to see your album covers flowing passed you in massive, full-color, liquidy reflective goodness is a treat to behold. So, thank you, Apple, for working to make iTunes even more enjoyable. (Now if they just get that whole <a href="http://www.apple.com/hotnews/thoughtsonmusic/">DRM issue</a> worked out… )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2007/03/05/itunes-71-%e2%80%94-now-with-full-screen-coverflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Upgrade to iTunes 7! (yet)</title>
		<link>http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet/</link>
		<comments>http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 21:13:14 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/?p=3</guid>
		<description><![CDATA[iTunes 7 is riddled with bugs. Wait for a few updates from Apple before installing it. If you've already installed it, I've got instructions on how to revert back to version 6 (only on the PC, sorry) and keep your precious library intact.]]></description>
			<content:encoded><![CDATA[<p>I fired up iTunes this morning and it tells me there&#8217;s a new version 7 available. &#8220;Cool&#8221;, I say to myself. I then begin to read about the <a href="http://www.apple.com/itunes/overview/">new features available</a>: especially Cover Flow, album art auto-downloads, and iPod summary view. So, after v7 finishes updating I fire it up to check it out. The music library has three views now: standard, grouped with album art (very cool), and what Apple calls Cover Flow. Everything works fine except Cover Flow. It is <span style="font-style: italic">messed up</span> big time.<span id="more-3"></span> The graphics and scroll bar are garbled beyond recognition. I figure somethings fishy but nothing that Google can&#8217;t tell me about it. I end up at the Apple support forum and find enormous laundry lists of things gone wrong with iTunes version 7 – on both the <a href="http://discussions.apple.com/forum.jspa?forumID=792">PC</a> and the <a href="http://discussions.apple.com/category.jspa?categoryID=153">Mac</a>!</p>
<p>Shame on you, Apple, for releasing a half-baked, piece-of-junk bunch of compiled code you&#8217;re trying to pass off as an application.</p>
<p>For those of you on a PC who have fallen into the version 7 upgrade trap, here are some simple <span style="font-style: italic">downgrade</span> instructions to get iTunes back to version 6.</p>
<ol>
<li>MOVE your &#8220;iTunes Music Library&#8221; XML file (found in your iTunes folder&#8230; (usually in your My Music folder) to the desktop.</li>
<li>DELETE the &#8220;iTunes Libraries&#8221; database file found in the iTunes folder.</li>
<li>Unistall version 7.</li>
<li>Restart PC.</li>
<li><a href="http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=11622&#038;cat=1&#038;platform=osx&#038;method=sa/iTunesSetup.exe">Download</a> version 6 and install it. (The v6 installer icon has a<span style="font-style: italic"><span style="font-style: italic"> </span>green</span> musical note, not a <span style="font-style: italic">blue</span> one. Blue = v7.)</li>
<li>After installed&#8230; go to File/Import and locate the XML library file you saved to your desktop.</li>
<li>Your library will be restored, pointing to your actual song files (which have not been touched).</li>
</ol>
<p>For those of you on a Mac&#8230; sorry. I don&#8217;t have any instructions for reverting to v6. Keep checking the <a href="http://discussions.apple.com/category.jspa?categoryID=149">forums</a> and someone will figure it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t Upgrade to iTunes 7! (yet)</title>
		<link>http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet-2/</link>
		<comments>http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet-2/#comments</comments>
		<pubDate>Wed, 04 Oct 2006 21:13:14 +0000</pubDate>
		<dc:creator>Nic</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet-2/</guid>
		<description><![CDATA[I fired up iTunes this morning and it tells me there&#8217;s a new version 7 [...]]]></description>
			<content:encoded><![CDATA[<p>I fired up iTunes this morning and it tells me there&#8217;s a new version 7 available. &#8220;Cool&#8221;, I say to myself. I then begin to read about the <a href="http://www.apple.com/itunes/overview/">new features available</a>: especially Cover Flow, album art auto-downloads, and iPod summary view. So, after v7 finishes updating I fire it up to check it out. The music library has three views now: standard, grouped with album art (very cool), and what Apple calls Cover Flow. Everything works fine except Cover Flow. It is <span style="font-style: italic">messed up</span> big time.<span id="more-50"></span> The graphics and scroll bar are garbled beyond recognition. I figure somethings fishy but nothing that Google can&#8217;t tell me about it. I end up at the Apple support forum and find enormous laundry lists of things gone wrong with iTunes version 7 – on both the <a href="http://discussions.apple.com/forum.jspa?forumID=792">PC</a> and the <a href="http://discussions.apple.com/category.jspa?categoryID=153">Mac</a>!</p>
<p>Shame on you, Apple, for releasing a half-baked, piece-of-junk bunch of compiled code you&#8217;re trying to pass off as an application.</p>
<p>For those of you on a PC who have fallen into the version 7 upgrade trap, here are some simple <span style="font-style: italic">downgrade</span> instructions to get iTunes back to version 6.</p>
<ol>
<li>MOVE your &#8220;iTunes Music Library&#8221; XML file (found in your iTunes folder&#8230; (usually in your My Music folder) to the desktop.</li>
<li>DELETE the &#8220;iTunes Libraries&#8221; database file found in the iTunes folder.</li>
<li>Unistall version 7.</li>
<li>Restart PC.</li>
<li><a href="http://wsidecar.apple.com/cgi-bin/nph-reg3rdpty2.pl/product=11622&#038;cat=1&#038;platform=osx&#038;method=sa/iTunesSetup.exe">Download</a> version 6 and install it. (The v6 installer icon has a<span style="font-style: italic"><span style="font-style: italic"> </span>green</span> musical note, not a <span style="font-style: italic">blue</span> one. Blue = v7.)</li>
<li>After installed&#8230; go to File/Import and locate the XML library file you saved to your desktop.</li>
<li>Your library will be restored, pointing to your actual song files (which have not been touched).</li>
</ol>
<p>For those of you on a Mac&#8230; sorry. I don&#8217;t have any instructions for reverting to v6. Keep checking the <a href="http://discussions.apple.com/category.jspa?categoryID=149">forums</a> and someone will figure it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nicholascjohnson.com/blog/2006/10/04/dont-upgrade-to-itunes-7-yet-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
