<?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>evardsson.com: stuff that w0rks &#187; OS&nbsp;X</title>
	<atom:link href="http://www.evardsson.com/blog/category/os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evardsson.com/blog</link>
	<description>tweaks and hacks, php, python, music, home and ???</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:38:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Custom Parallels VM icons</title>
		<link>http://www.evardsson.com/blog/2009/11/24/custom-parallels-vm-icons/</link>
		<comments>http://www.evardsson.com/blog/2009/11/24/custom-parallels-vm-icons/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 01:31:25 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/?p=386</guid>
		<description><![CDATA[I run a lot of VMs in Parallels. (Currently I am running 7, although not all at once, of course.) I end up with a bunch of red generic Parallels VM alias icons on my desktop. Which means that the usual visual quick clues (color, logos, etc) aren&#8217;t there and I have to look at [...]]]></description>
			<content:encoded><![CDATA[<p>I run a lot of VMs in Parallels. (Currently I am running 7, although not all at once, of course.) I end up with a bunch of red generic Parallels VM alias icons on my desktop. Which means that the usual visual quick clues (color, logos, etc) aren&#8217;t there and I have to look at the text underneath. Sometimes I am in a rush and start Windows Server 2008 instead of Windows 7 Pro, or Ubuntu Linux instead of Debian Linux (one is set up as a desktop and one as a server with no X).</p>
<p>I really wanted some custom icons for those VMs. My solution, (as usual) when it doesn&#8217;t exist make it. So, I opened pvs.icns (contained in the Parallels Desktop.app bundle /Applications/Parallels Desktop.app/Contents/Resources/pvs.icns) in Icon Composer.app, selected the 512 x 512 version and copied it to the clipboard. I then pasted that into a new Photoshop document and began editing. I saved each new version as a 512 x 512 pixel png and then dropped them in <a href="http://www.img2icnsapp.com">img2icns.app</a> which converted them to the icns files I needed to customize my VM launchers.</p>
<p><a title="icon_anim.gif by Sjan, on Flickr" href="http://www.flickr.com/photos/evardsson/4131759295/"><img src="http://farm3.static.flickr.com/2688/4131759295_a27ededda6_o.gif" border="0" alt="icon_anim.gif" width="102" height="99" align="right" /></a>Behold the glory:</p>
<p>They aren&#8217;t perfect, especially the Windows Server 2008, but they are different enough that it is easy to select the right VM in a heartbeat.</p>
<p>You can download the icns files from <a href="http://www.evardsson.com/files/parallels_icons.zip">http://www.evardsson.com/files/parallels_icons.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2009/11/24/custom-parallels-vm-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SVN on OS X &#8211; /usr/bin or /usr/local/bin</title>
		<link>http://www.evardsson.com/blog/2008/12/24/svn-on-os-x-usr_bin-or-usr_local_bin/</link>
		<comments>http://www.evardsson.com/blog/2008/12/24/svn-on-os-x-usr_bin-or-usr_local_bin/#comments</comments>
		<pubDate>Wed, 24 Dec 2008 15:13:20 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/?p=272</guid>
		<description><![CDATA[I recently installed the openCollabNet OS X Universal binary for SVN 1.5.4 from Tigris and found something odd. I had installed the openCollabNet binary for 1.4.4 a while back, and don&#8217;t recall changing any install paths, but apparently something changed. After installing I ran svn &#8211;version and saw something that I shouldn&#8217;t have seen: svn, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently installed the <a href="http://downloads.open.collab.net/binaries.html">openCollabNet OS X Universal binary for SVN 1.5.4</a> from <a href="http://subversion.tigris.org/">Tigris</a> and found something odd. I had installed the openCollabNet binary for 1.4.4 a while back, and don&#8217;t recall changing any install paths, but apparently something changed. After installing I ran svn &#8211;version and saw something that I shouldn&#8217;t have seen:</p>
<blockquote>
<pre>svn, version 1.4.4 (r25188)
compiled Sep 23 2007, 22:32:34

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).</pre>
</blockquote>
<p>Strange, I should have seen the new 1.5.4 there. So I did a bit of digging. Everything I saw about the openCollabNet binary said it installed in /usr/local/bin, but when I ran which svn I saw /usr/bin/svn. So I looked in /usr/bin and /usr/local/bin. Sure enough, two installs in two different places. Not being one to do anything rash (like deleting svn from /usr/bin and then changing the path on all my tools that rely on it) I decided the best thing to do was fix it in a way that was reversible. So, I fired off a sudo ls (to get my password in scope in the shell) and then a simple</p>
<pre>for i in `ls /usr/bin/svn*`; do mv /usr/bin/$i /usr/bin/$i.old &amp;&amp; ln -sf /usr/local/bin/$i /usr/bin/$i; done</pre>
<p>Once I had fired off that command another call to svn &#8211;version revealed the fix:</p>
<blockquote>
<pre>svn, version 1.5.4 (r33841)
compiled Oct 27 2008, 11:19:10

Copyright (C) 2000-2008 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).</pre>
</blockquote>
<p>I am still a little confused as to how 1.4.4 ended up in /usr/bin while 1.5.4 went to /usr/local/bin (where it is expected to go from the openCollabNet binary installer). I wondered, did I change the install path at some point in the install? Somehow I doubt it, as that is not a change I would be likely to make. Just another little mystery for the unsolved cases file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/12/24/svn-on-os-x-usr_bin-or-usr_local_bin/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Minefield: I came, I saw, I couldn&#8217;t use it</title>
		<link>http://www.evardsson.com/blog/2008/11/01/minefield-i-came-i-saw-i-couldnt-use-it/</link>
		<comments>http://www.evardsson.com/blog/2008/11/01/minefield-i-came-i-saw-i-couldnt-use-it/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 19:43:16 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Minefield]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/?p=258</guid>
		<description><![CDATA[I decided I would be brave and download Minefield (the latest &#8220;trunk build&#8221; from Firefox) and try it out. I have been reading several reviews about how fast it is, and wanted to see for myself. I was not, however, able to use it at all. First, my current setup. I am running OS X [...]]]></description>
			<content:encoded><![CDATA[<p>I decided I would be brave and <a href="http://www.mozilla.org/projects/minefield/">download Minefield</a> (the latest &#8220;trunk build&#8221; from Firefox) and try it out. I have been reading several reviews about how fast it is, and wanted to see for myself.</p>
<p>I was not, however, able to use it at all. First, my current setup. I am running OS X 10.5 on a 17&#8243; MBP with 4GB RAM. (I have the older mobo however, and the system only actually uses 3GB.) I also have Parallels 3.0 installed with a Windows XP VM (this is important) and two Linux VMs (a Gentoo server and an Ubuntu desktop).</p>
<p>When attempting to start Minefield on OS X (Parallels not running), as Minefield starts Parallels attempts to start an installer on Win XP. The VM cannot be shut down until Minefield is shut down and the only way to do that is via Force Quit. Otherwise the installer continues to attempt to run on Win XP in Parallels. I did not download the Windows installer, nor did I wish to, however, there is something that is triggering a &#8220;Firefox Installer&#8221; on Win XP whenever Minefield attempts to open on OS X.</p>
<p>Needless to say, while Minefield will not start until it has finished &#8220;installing&#8221; on XP, and since it is trying (I guess) to install the OS X version on XP, I end up with a hung Minefield and an endless loop of Windows error messages (&#8220;The application Firefox Installer has performed and illegal operation etc etc&#8221;) followed by the &#8220;Firefox Installer&#8221; on Windows dying and respawning. Maybe I&#8217;ll try again in a week or two, since these are trunk builds and fixes and updates are coming in pretty regularly at this point.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/11/01/minefield-i-came-i-saw-i-couldnt-use-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail.app &#8211; Making the switch</title>
		<link>http://www.evardsson.com/blog/2008/02/10/mailapp-making-the-switch/</link>
		<comments>http://www.evardsson.com/blog/2008/02/10/mailapp-making-the-switch/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 00:27:36 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Mail.app]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2008/02/10/mailapp-making-the-switch/</guid>
		<description><![CDATA[It has been 10 days now that I have been using Mail.app rather than Thunderbird and I am ready to uninstall Thunderbird entirely. While I am still waiting for GPGMail for 10.5 to advance beyond the beta stage I can use it as is. I didn&#8217;t really notice any difference in startup times between Mail.app [...]]]></description>
			<content:encoded><![CDATA[<p>It has been 10 days now that I have been using Mail.app rather than Thunderbird and I am ready to uninstall Thunderbird entirely. While I am still waiting for <a href="http://www.sente.ch/software/GPGMail/English.lproj/GPGMail.html">GPGMail</a> for 10.5 to advance beyond the beta stage I can use it as is. I didn&#8217;t really notice any difference in startup times between Mail.app and Thunderbird, but I did notice that it was faster at sorting incoming mail by rules and especially at putting the junk mail where it belongs. Thunderbird first loads all the incoming into the inbox and then sorts out junk mail and applies the other sorting rules. With Mail.app I don&#8217;t end up waiting for the rules to run before I can start weeding through my mail. I think the biggest thing, though, is that using Mail.app gets me into a position where I can more easily use other tools like the address book and it will, no doubt, facilitate syncing with the iPhone (if I ever get around to taking it out of the box and activating it &#8211; but that&#8217;s another story for another time.)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/02/10/mailapp-making-the-switch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solved: Mail.app folder headaches</title>
		<link>http://www.evardsson.com/blog/2008/02/01/solved-mailapp-folder-headaches/</link>
		<comments>http://www.evardsson.com/blog/2008/02/01/solved-mailapp-folder-headaches/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 03:30:30 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Mail.app]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2008/02/01/solved-mailapp-folder-headaches/</guid>
		<description><![CDATA[Well, I finally worked through the issues with Mail.app and mapping the Junk folder. I found the fix for it entirely accidentally &#8211; I was going through all the settings and found that changing the setting under Mail &#62; Preferences &#62; Junk Mail &#62; When junk mail arrives from &#8220;Mark as junk mail, but leave [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I finally worked through the issues with Mail.app and mapping the Junk folder. I found the fix for it entirely accidentally &#8211; I was going through all the settings and found that changing the setting under Mail &gt; Preferences &gt; Junk Mail &gt; When junk mail arrives from &#8220;Mark as junk mail, but leave it in the Inbox&#8221; to &#8220;Move to the Junk mail folder&#8221; was enough to restore the mapping for the Junk mail folder.</p>
<p>I also found that the Drafts folder didn&#8217;t exactly disappear, it just doesn&#8217;t show up when there are no drafts saved.</p>
<p>While GPGMail for 10.5 still incorrectly reports signatures as not being valid, it <em>is</em> still in beta and sure to improve. So, I guess the week of trying it on has begun.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Mail.app" class="performancingtags" rel="tag">Mail.app</a>, <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/02/01/solved-mailapp-folder-headaches/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Trying Mail.app again (it&#8217;s so very trying)</title>
		<link>http://www.evardsson.com/blog/2008/01/29/trying-mailapp-again-its-so-very-trying/</link>
		<comments>http://www.evardsson.com/blog/2008/01/29/trying-mailapp-again-its-so-very-trying/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 02:53:35 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Mail.app]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2008/01/29/trying-mailapp-again-its-so-very-trying/</guid>
		<description><![CDATA[I am trying out Mail.app again &#8211; to see if some the issues I had in the past have been corrected in Leopard. Somehow, it just doesn&#8217;t seem to work right. I installed GPGMail (which is still beta for Leopard) and mostly got that working, except that for every key in my GPGKeyring it says [...]]]></description>
			<content:encoded><![CDATA[<p>I am trying out Mail.app again &#8211; to see if some the issues I had in the past have been corrected in Leopard. Somehow, it just doesn&#8217;t seem to work right. I installed GPGMail (which is still beta for Leopard) and mostly got that working, except that for every key in my GPGKeyring it says that the key is invalid and there is no signing date (they all work fine in Enigmail&#8230;). Also, I set Mail.app to use the Trash folder for trash and the Sent folder for sent items, the Drafts folder for drafts and the Junk folder for junk mail. Seemed straightforward. Until I shut down Mail.app and reopened it. The trash and sent mail were still correctly mapped, but the Drafts folder was <em>gone</em> and no matter what I tried the Junk folder would not map to junk mail.  Thankfully I didn&#8217;t have anything in the Drafts folder at the time! What a pain! So any junk mail I get is marked as junk (but I mostly have to do it myself &#8211; I am used to Thunderbird catching the majority of the stuff that spamassassin didn&#8217;t mark) but it stays in the inbox. That&#8217;s because Mail.app doesn&#8217;t know that the Junk folder is the junk folder. Even after I tried again (and again, and again) with the Mailbox &gt; Use Folder As &gt; Junk.</p>
<p>If I can get Mail.app to properly map the Drafts and Junk folders again I will likely try it on for a full week or two and see how I feel about it. If I can&#8217;t get it over that hurdle, however, forget it.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Thunderbird" class="performancingtags" rel="tag">Thunderbird</a>, <a href="http://technorati.com/tag/Mail.app" class="performancingtags" rel="tag">Mail.app</a>, <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2008/01/29/trying-mailapp-again-its-so-very-trying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard &#8211; First Run</title>
		<link>http://www.evardsson.com/blog/2007/11/02/213/</link>
		<comments>http://www.evardsson.com/blog/2007/11/02/213/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 05:11:29 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Leopard]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/11/02/213/</guid>
		<description><![CDATA[After waiting all this time for a multi-desktop environment I was excited to get and install my copy of 10.5 today. Even though it isn&#8217;t ready for some because of program incompatibilities (sorry, Ted) I hadn&#8217;t run across anything to make me think it wasn&#8217;t ready for my use. And in truth, there isn&#8217;t anything [...]]]></description>
			<content:encoded><![CDATA[<p>After waiting all this time for a multi-desktop environment I was excited to get and install my copy of 10.5 today. Even though it isn&#8217;t ready for some because of program incompatibilities (<a href="http://www.sauria.com/blog/2007/10/30/leopard-java-and-open-source/">sorry, Ted</a>) I hadn&#8217;t run across anything to make me think it wasn&#8217;t ready for my use. And in truth, there isn&#8217;t anything &#8216;wrong&#8217; with Leopard. It just turns out that I hadn&#8217;t gotten the word that I would <a href="http://www.parallels.com/en/support/leopard/">have to upgrade Parallels</a> to <a href="http://www.parallels.com/en/download/desktop/">build 5160</a> in order to use it on Leopard. And since I primarily want the multiple desktops (&#8220;Spaces&#8221;) to make it easier to run VMs that is in an issue. So, I am downloading the update now. Since it isn&#8217;t going to cost me anything to upgrade Parallels, that&#8217;s ok. For me, running a VM in full-screen mode while still having access to my Mac desktop is important. While I am at the desk I can do that by hooking up another monitor. When I&#8217;m not at the desk, though, that isn&#8217;t possible. What I sincerely hope is that I can run my guest OS fullscreen on one desktop while coding on another and browsing on another and wasting time (chatting and playing mindless puzzle games) on the fourth. This was my MO when I was working with VMWare on a Linux machine with XFCE. So, now I plan on doing the same on my Mac. After all, when was the last time a window manager for BSD <em>didn&#8217;t </em>have multiple desktops? (Ok, I know, OS X is more than a WM, but you get the drift.)</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a>, <a href="http://technorati.com/tag/Leopard" class="performancingtags" rel="tag">Leopard</a>, <a href="http://technorati.com/tag/Parallels" class="performancingtags" rel="tag">Parallels</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/11/02/213/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache 2.2.6, PHP 5.2.4 and MySQL 5.0.45 on OS X</title>
		<link>http://www.evardsson.com/blog/2007/09/17/apache-226-php-524-and-mysql-5045-on-os-x/</link>
		<comments>http://www.evardsson.com/blog/2007/09/17/apache-226-php-524-and-mysql-5045-on-os-x/#comments</comments>
		<pubDate>Tue, 18 Sep 2007 02:53:32 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/09/17/apache-226-php-524-and-mysql-5045-on-os-x/</guid>
		<description><![CDATA[I got tired of looking for a way to replace the Apache/PHP that Apple packages with OS X (without breaking anything else in the process) so I decided to install Apache 2.2 and PHP5 in their own location to avoid stepping on the Apple package toes. Since I do a great deal of development again [...]]]></description>
			<content:encoded><![CDATA[<p>I got tired of looking for a way to replace the Apache/PHP that Apple packages with OS X (without breaking anything else in the process) so I decided to install Apache 2.2 and PHP5 in their own location to avoid stepping on the Apple package toes.</p>
<p>Since I do a great deal of development again MySQL I needed to install that as well, and figured that I would probably need the GD functionality as well so I grabbed libjpeg and libpng to make those work as well. This is the step-by-step.</p>
<p>(Props to James Pelow and his <a href="http://www.phpmac.com/articles.php?view=252">article from last year</a>, from which I borrowed the configure command lines and configuration modifications, as well as the idea of installing the whole mess in /apache2.)</p>
<p>Download the latest MySQL (I used the package version) from <a href="http://dev.mysql.com/downloads/">MySQL</a>.</p>
<p>Installation is straightforward following the same methods as any other Mac installer.</p>
<p>Download and install libjpeg and libpng &#8211; from <a href="http://ethan.tira-thompson.com/Mac%20OS%20X%20Ports.html">Ethan Tira-Thompson</a> (this is also in a Mac installer which contains both libraries in one installer).</p>
<p>Download the latest Apache httpd server (Unix source) from <a href="http://httpd.apache.org/download.cgi">Apache</a></p>
<p>in the terminal:</p>
<pre>
tar -xzvf httpd-2.2.6.tar.gz &amp;&amp; cd httpd-2.2.6

./configure

--prefix=/apache2

--enable-module=most

--enable-shared=max

make

sudo make install

sudo mkdir /apache2/php</pre>
<p>Download the latest PHP from <a href="http://www.php.net/downloads.php">PHP</a></p>
<pre>
tar -xzvf php-5.2.4.tar.gz &amp;&amp; cd php-5.2.4

./configure

--prefix=/apache2/php

--with-zlib

--with-xml

--with-ldap=/usr

--enable-cli

--with-zlib-dir=/usr

--enable-exif

--enable-ftp

--enable-mbstring

--enable-mbregex

--enable-dbx

--enable-sockets

--with-iodbc=/usr

--with-curl=/usr

--with-mysql=/usr/local/mysql

--with-gd

--with-jpeg-dir=/usr/local

--with-png-dir=/usr/local</pre>
<pre>--with-apxs2=/apache2/bin/apxsmake

sudo make install

sudo cp php.ini-dist /apache2/php/lib/php.ini</pre>
<p>Now to make your Apache2.2 a little more &#8216;Mac&#8217; &#8211; you can point it at the Mac web shared files folder, change the user and group and change the location for user files to match the Mac folder system.</p>
<p>Edit httpd.conf (I use nano, you can use any flat text editor like nano, pico, vi, emacs or even BBedit)</p>
<pre>sudo nano -w /apache2/conf/httpd.conf</pre>
<p>The changes to httpd.conf I made:<br />
I changed</p>
<pre>User daemon</pre>
<pre>Group daemon</pre>
<p>to</p>
<pre>User www</pre>
<pre>Group www</pre>
<p>and</p>
<pre>DocumentRoot "/apache2/htdocs"</pre>
<p>to</p>
<pre>DocumentRoot "/Library/WebServer/Documents"</pre>
<p>and</p>
<pre>&lt;Directory "/apache2/htdocs"&gt;</pre>
<p>to</p>
<pre>&lt;Directory "/Library/WebServer/Documents"&gt;</pre>
<p>and added</p>
<pre>AddType application/x-httpd-php .php</pre>
<pre>AddType application/x-httpd-php-source .phps

DirectoryIndex index.html index.php</pre>
<p>Edit httpd-userdir.conf</p>
<pre>sudo nano -w /apache2/conf/extra/httpd-userdir.conf</pre>
<p>The changes to httpd-userdir.conf I made:<br />
I changed</p>
<pre>UserDir public_html</pre>
<p>to</p>
<pre>UserDir Sites</pre>
<p>To start and stop the server:<br />
MySQL comes with a Preference Pane that allows you to start and stop it there. To start and stop Apache you need to first make sure that the default Apache shipped with OS X is stopped.</p>
<pre>sudo /apache2/bin/apachectl start</pre>
<pre>sudo /apache2/bin/apachectl stop</pre>
<p>I only ran into one issue, when trying to start the server I ran against the following error message (and no running server, of course):</p>
<pre>httpd: Syntax error on line 53 of /apache2/conf/httpd.conf:</pre>
<pre>Cannot load /apache2/modules/libphp5.so into server:</pre>
<pre>Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib</pre>
<pre>Referenced from: /apache2/modules/libphp5.son  Reason: image not found</pre>
<p>To fix this I did the following:</p>
<pre>cd /usr/local/mysql/lib</pre>
<pre>sudo mkdir /usr/local/mysql/lib/mysql

for i in `ls ./l*`; do sudo ln -sf /usr/local/mysql/lib/$i /usr/local/mysql/lib/mysql/$i; done</pre>
<p>This creates soft links in the directory that libphp5.so is looking for the MySQL libraries.</p>
<p>Then it started right up! Wheee! (I did a quick test by dropping PhpMyAdmin into the /Library/WebServer/Documents folder and browsed to it &#8211; the whole Apache/PHP/MySQL is working correctly)</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Apache%202.2" class="performancingtags" rel="tag">Apache 2.2</a>, <a href="http://technorati.com/tag/PHP5" class="performancingtags" rel="tag">PHP5</a>, <a href="http://technorati.com/tag/MySQL%205" class="performancingtags" rel="tag">MySQL 5</a>, <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/09/17/apache-226-php-524-and-mysql-5045-on-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aqua port of OpenOffice.org in alpha release</title>
		<link>http://www.evardsson.com/blog/2007/06/05/aqua-port-of-openofficeorg-in-alpha-release/</link>
		<comments>http://www.evardsson.com/blog/2007/06/05/aqua-port-of-openofficeorg-in-alpha-release/#comments</comments>
		<pubDate>Tue, 05 Jun 2007 16:22:22 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/06/05/aqua-port-of-openofficeorg-in-alpha-release/</guid>
		<description><![CDATA[It has been a long time coming, but OpenOffice.org have moved a step closer to a native OS X port. The first development snapshot was released this morning. This is an alpha release, and they warn: THESE BUILDS SHOULD BE USED AT YOUR OWN RISK FOR TESTING PURPOSES ONLY. THEY MAY CRASH OR CAUSE DATA [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a long time coming, but OpenOffice.org have moved a step closer to a native OS X port. The first <a href="http://porting.openoffice.org/mac/faq/aqua-prerelease/index.html">development snapshot was released</a> this morning. This is an alpha release, and they warn:</p>
<blockquote><p><font color="#cc0000">THESE BUILDS SHOULD BE USED AT YOUR OWN RISK FOR TESTING PURPOSES ONLY. THEY MAY CRASH OR CAUSE DATA LOSS.<br />
</font></p></blockquote>
<p>As with any early development release there are lots of things that don&#8217;t work yet, such as printing, exporting to PDF, copy/paste, drang and drop, multiple monitors, etc. That&#8217;s to be expected. While I am a little tempted to run the alpha release and provide feedback to the development team, I don&#8217;t know that I actually have the time to devote to that sort of endeavor right now. Instead, I think I will jump on the first beta, and install it alongside the X11 version, so that I can chime in on testing at that stage.</p>
<p>For those who are interested, the Mac Porting team have <a href="http://porting.openoffice.org/mac/links.html">blogs</a> and a <a href="http://porting.openoffice.org/mac/news/index.html">news section</a> where you can keep up with development if you wish.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/OpenOffice.org" class="performancingtags" rel="tag">OpenOffice.org</a>, <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/06/05/aqua-port-of-openofficeorg-in-alpha-release/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Boot Camp + Parallels + XP = Validation Nightmare</title>
		<link>http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/</link>
		<comments>http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 17:54:51 +0000</pubDate>
		<dc:creator>Sjan Evardsson</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[Parallels]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/</guid>
		<description><![CDATA[I have been running XP (WinXP Pro, SP2, retail version) under Parallels for a bit, and decided I wanted to give the Boot Camp with Parallels option a try. After finding some rather lengthy and questionable instructions on moving a Parallels image to a Boot Camp partition I decided to go the clean install route. [...]]]></description>
			<content:encoded><![CDATA[<p>I have been running XP (WinXP Pro, SP2, retail version) under Parallels for a bit, and decided I wanted to give the Boot Camp with Parallels option a try. After finding some rather lengthy and questionable instructions on moving a Parallels image to a Boot Camp partition I decided to go the clean install route.</p>
<p>I deleted my Parallels XP image (and subsequently ended up wishing I hadn&#8217;t) and used the Boot Camp assistant to set up my hard drive and install XP. I got XP set up and running, but had to call Microsoft to get it &#8216;activated&#8217; since it saw it as a new install. Once that was taken care of I installed Office, and got the same kind of headache there &#8211; where the key wouldn&#8217;t work, because it said it had been installed on too many machines. I decided to leave that be for the time until I felt like waiting on the MS phone queue again.</p>
<p>I rebooted into OS X and loaded my now &#8216;active&#8217; and &#8216;valid&#8217; Windows XP under Parallels. As soon as it booted it gave me the message that I had 3 days to activate it as the hardware had changed significantly and it was no longer valid. I ddn&#8217;t feel like fighting it so I closed down Parallels and rebooted into XP where, surprise, I got the 3 day warning again!</p>
<p>So not only does loading the same image in a VM result in XP thinking it isn&#8217;t a valid copy, but it changes something in the registry somewhere, so that booting back into natively results in the same thing. I thought the concept of hardware profiles would help with this sort of thing, but apparently not. This is something that MS needs to address sooner rather than later as multicore machines make virtualization more common and loading a native image in a VM becomes a more common way of doing that.</p>
<p>An interesting side note: I got fed up with the whole validation issue and removed the XP partition and re-installed XP under Parallels the same way I did originally. I expected the phone calls for the XP key and the Office key etc, etc &#8211; but, it just accepted the keys and validated no questions asked.</p>
<p>Technorati Tags: <a href="http://technorati.com/tag/Boot%20Camp" class="performancingtags" rel="tag">Boot Camp</a>, <a href="http://technorati.com/tag/Parallels" class="performancingtags" rel="tag">Parallels</a>, <a href="http://technorati.com/tag/XP" class="performancingtags" rel="tag">XP</a>, <a href="http://technorati.com/tag/OS%20X" class="performancingtags" rel="tag">OS X</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.evardsson.com/blog/2007/04/11/boot-camp-parallels-xp-validation-nightmare/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

Fatal error: Call to undefined function curl_init() in /var/www/evardsson.com/blog/wp-content/plugins/twitter-tools/twitteroauth.php on line 201

