<?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>Gepatto Blog &#187; osx</title>
	<atom:link href="http://blog.gepatto.nl/category/osx/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.gepatto.nl</link>
	<description>Who needs a tagline anyway?</description>
	<lastBuildDate>Mon, 17 May 2010 13:34:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Upgrading to Snow Leopard a.k.a 10.6</title>
		<link>http://blog.gepatto.nl/2009/09/01/upgrading-to-snow-leopard-a-k-a-10-6/</link>
		<comments>http://blog.gepatto.nl/2009/09/01/upgrading-to-snow-leopard-a-k-a-10-6/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 12:43:43 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[LifeSavers]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://blog.gepatto.nl/?p=180</guid>
		<description><![CDATA[So I&#8217;m upgrading my MBP to 10.6. Since this is my production machine I&#8217;m taking no chances. I bought an external 7200rpm 2,5&#8221; HD and installed 10.6 onto this drive. Once this installation is as stable as I would like it to be, I&#8217;ll be swapping the internal HD for this one (leaving me with [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;m upgrading my MBP to 10.6.<br />
Since this is my production machine  I&#8217;m taking no chances.<br />
I bought an external 7200rpm 2,5&#8221; HD  and installed 10.6 onto this drive.<br />
Once this installation is as stable as I would like it to be, I&#8217;ll be swapping the internal HD for this one (leaving me with a backup OS in case of emergencies).</p>
<p>So far all my apps seem to be running just fine.</p>
<p>I&#8217;ll be keeping a list here for all minor/major tweaks that were necessary to get everything running.</p>
<p><strong>Enabling PHP and MYSQL</strong></p>
<p>First of all edit /etc/apache2/httpd.conf and uncomment the following line<br />
<code>loadModule php5_module      libexec/apache2/libphp5.so</code></p>
<p>Next install Mysql, get the latest version (now still says osx 10.5, but it will run!)<br />
<a href="http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg">http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg</a></p>
<p>copy php.ini.default to php.ini  (don&#8217;t forget to make it writable first)</p>
<p>edit default_socket properties: I&#8217;m using pdo so I had to change the following line<br />
<code>pdo_mysql.default_socket=/var/mysql/mysql.sock</code><br />
to<br />
<code>pdo_mysql.default_socket=/tmp/mysql.sock</code></p>
<p>edit the default timezone, i.e:<br />
<code>date.timezone = Europe/Amsterdam</code></p>
<p>edit some properties like  upload size memory limit</p>
<p><strong>start mysql</strong> , add at least one user since by default there&#8217;s only root without a password<br />
(use sequel pro, It&#8217;s a nice opensource and free DB-tool)</p>
<p><strong>now restart apache</strong><br />
<code>sudo apachectl graceful</code></p>
<p>&#8230; you can now develop local php-sites</p>
<p>&#8230;..<br />
more to come&#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.gepatto.nl/2009/09/01/upgrading-to-snow-leopard-a-k-a-10-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
