<?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>Blog &#124; BenHollis.net &#187; Games</title>
	<atom:link href="http://benhollis.net/blog/category/games/feed/" rel="self" type="application/rss+xml" />
	<link>http://benhollis.net/blog</link>
	<description>News about BenHollis.net and articles about Ben&#039;s interests</description>
	<lastBuildDate>Fri, 04 Jun 2010 05:39:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fallout 3 licensed soundtrack with Amazon MP3 links</title>
		<link>http://benhollis.net/blog/2009/02/17/fallout-3-licensed-soundtrack-with-amazon-mp3-links/</link>
		<comments>http://benhollis.net/blog/2009/02/17/fallout-3-licensed-soundtrack-with-amazon-mp3-links/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 06:48:14 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[fallout 3]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://brh.numbera.com/blog/index.php/2009/02/17/fallout-3-licensed-soundtrack-with-amazon-mp3-links/</guid>
		<description><![CDATA[I just finished Fallout 3 last night. Yeah, that&#8217;s one of the reasons I haven&#8217;t released anything new in a while. One of my favorite parts of the game was the old music they used. I loved the BioShock soundtrack too. Now that I&#8217;m done with the game and won&#8217;t be listening to Galaxy News [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished <a href="http://www.amazon.com/gp/product/B001EYUS4Y?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B001EYUS4Y">Fallout 3</a> last night. Yeah, that&#8217;s one of the reasons I haven&#8217;t released anything new in a while. One of my favorite parts of the game was the old music they used. I loved the <a href="http://www.amazon.com/gp/product/B001EYUQ8C?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B001EYUQ8C">BioShock</a> soundtrack too. Now that I&#8217;m done with the game and won&#8217;t be listening to Galaxy News Radio anymore, I figured I&#8217;d hunt down the individual songs on Amazon MP3 so I can listen to them while I&#8217;m playing other games (my favorite is when <a href="http://www.amazon.com/gp/product/B001HEICW6?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B001HEICW6">Halo</a> or <a href="http://www.amazon.com/gp/product/B000793EKM?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000793EKM">Chrono Trigger</a> music plays over another game). As long as I&#8217;m doing that, I thought I&#8217;d post the links for everyone else, since I didn&#8217;t find a list with links to download the songs anywhere online. I got the list itself from <a href="http://en.wikipedia.org/wiki/Fallout_3#Soundtrack_and_score">Wikipedia&#8217;s Fallout 3 page</a>. Unfortunately not all of the songs are available &#8211; hopefully they&#8217;ll show up in time.</p>
<ol>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B001HDYTD8?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B001HDYTD8">I Don&#8217;t Want To Set The World On Fire</a>&#8221; &#8211; The Ink Spots</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000QOX4RQ?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000QOX4RQ">Way Back Home</a>&#8221; &#8211; Bob Crosby &#038; the Bobcats</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B002CYFBE2?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B002CYFBE2">Butcher Pete (Part 1)</a>&#8221; &#8211; Roy Brown</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000QOZRN0?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000QOZRN0">Happy Times</a>&#8221; (From the Danny Kaye film The Inspector General) &#8211; Bob Crosby &#038; the Bobcats</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B0010I2ZKO?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0010I2ZKO">Civilization (Bongo, Bongo, Bongo)</a>&#8221; &#8211; Danny Kaye with The Andrews Sisters</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000QNNS00?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000QNNS00">Into Each Life Some Rain Must Fall</a>&#8221; &#8211; Ella Fitzgerald with The Ink Spots</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000QYP24O?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000QYP24O">Anything Goes</a>&#8221; &#8211; Cole Porter</li>
<li>&#8220;Fox Boogie&#8221; &#8211; Gerhard Trede</li>
<li>&#8220;I&#8217;m Tickled Pink&#8221; &#8211; Jack Shaindlin</li>
<li>&#8220;Jazzy Interlude&#8221; &#8211; Billy Munn</li>
<li>&#8220;Jolly Days&#8221; &#8211; Gerhard Trede</li>
<li>&#8220;Let&#8217;s Go Sunning&#8221; &#8211; Jack Shaindlin</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000S4VB10?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000S4VB10">A Wonderful Guy</a>&#8221; &#8211; Tex Beneke</li>
<li>&#8220;Rhythm for You&#8221; &#8211; Eddy Christiani &#038; Frans Poptie</li>
<li>&#8220;Swing Doors&#8221; &#8211; Allan Gray</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B0010I349K?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0010I349K">Maybe</a>&#8221; (Intro song from the original Fallout) &#8211; The Ink Spots</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000QO0MAI?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000QO0MAI">Mighty Mighty Man</a>&#8221; &#8211; Roy Brown</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B000WLLVH8?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B000WLLVH8">Crazy He Calls Me</a>&#8221; &#8211; Billie Holiday</li>
<li>&#8220;<a href="http://www.amazon.com/gp/product/B0010E29D6?ie=UTF8&#038;tag=brhnumberacom-20&#038;linkCode=as2&#038;camp=1789&#038;creative=390957&#038;creativeASIN=B0010E29D6">Easy Living</a>&#8221; &#8211; Billie Holiday</li>
<li>&#8220;Boogie Man&#8221; &#8211; Sid Phillips</li>
</ol>
<p><b>Update:</b> Amazon added the right version of &#8220;Butcher Pete&#8221; and I&#8217;ve linked it above.</p>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2009/02/17/fallout-3-licensed-soundtrack-with-amazon-mp3-links/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>360Voice.com Challenges Windows Sidebar Gadget</title>
		<link>http://benhollis.net/blog/2008/11/17/360voicecom-challenges-windows-sidebar-gadget/</link>
		<comments>http://benhollis.net/blog/2008/11/17/360voicecom-challenges-windows-sidebar-gadget/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 22:18:15 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[360voice]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Windows Sidebar]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://brh.numbera.com/blog/?p=255</guid>
		<description><![CDATA[In my post introducing the Bungie Card Windows Sidebar Gadget I mentioned that I was making one more gadget that would be of somewhat more limited interest. Well, I&#8217;m finally finished with it: the 360Voice.com Challenges gadget! 360Voice.com is a fun little site that started off by giving your Xbox 360 a blog that would [...]]]></description>
			<content:encoded><![CDATA[<p>In my post introducing the <a href="http://brh.numbera.com/blog/index.php/2008/10/21/bungie-card-windows-sidebar-gadget/">Bungie Card Windows Sidebar Gadget</a> I mentioned that I was making one more gadget that would be of somewhat more limited interest. Well, I&#8217;m finally finished with it: the <a href="http://brh.numbera.com/software/sidebargadgets/">360Voice.com Challenges</a> gadget! <a href="http://360voice.com">360Voice.com</a> is a fun little site that started off by giving your Xbox 360 a blog that would summarize each day&#8217;s gameplay. It&#8217;s since grown far beyond that, but the feature I like most is the &#8220;<a href="http://360voice.com/challenges">challenges</a>&#8220;. Challenges are a little meta-game where you get some friends together and see who can win the most gamerscore via unlocking achievements over a set period of time. </p>
<p class="blogimage"><a href="http://brh.numbera.com/software/images/screenshot/360_voice_challenge.jpg"><img alt="" src="http://brh.numbera.com/software/images/screenshot/360_voice_challenge_400.jpg" title="360Voice.com Challenges Gadget" /></a></p>
<p>I do a lot of these challenges, so I wanted to be able to keep track of their progress on my sidebar. The gadget shows you the time left in the challenge, the current standings, and the &#8220;live score&#8221;, which is the gamerscore each player has earned that day that hasn&#8217;t been counted in the official standings yet (gamerscore is sampled by 360Voice.com at midnight PST each day). Once the challenge is over, the winner is given a little crown and the gadget waits for the next challenge. </p>
<p>Fortunately, the 360Voice.com developers had the good sense to provide an XML web services API to their challenge data (and a lot of other stuff too!) so it&#8217;s not too hard to make cool things like this gadget that tie into their site. For this project I went ahead and included my favorite JavaScript library, <a href="http://jquery.com">jQuery</a>, and a neat jQuery-based databinding library called <a href="http://github.com/raid-ox/chain.js/wikis">chain.js</a>. Using these made development a lot smoother &#8211; the old familiar <a href="http://brh.numbera.com/blog/index.php/2007/04/22/top-processes-windows-sidebar-gadget/">Sidebar bugs</a> and Internet Explorer weirdness was still there, but overall it wasn&#8217;t too bad. I&#8217;ve specifically designed it to be as light as possible on 360Voice.com&#8217;s API too, so hopefully it won&#8217;t impact their service.</p>
<p>I think this is the most attractive gadget I&#8217;ve made &#8211; it&#8217;s certainly the most data-rich. I&#8217;m really proud of how it came out. I hope everybody enjoys it, and if you haven&#8217;t ever done a 360Voice challenge, go <a href="http://360voice.com/challenges">start one</a>! Also, if you like it, please rate it at <a href="http://gallery.live.com/liveItemDetail.aspx?li=6a2ceacc-1e11-429b-9406-c1bed98410b0">Windows Live Gallery</a>.</p>
<p>P.S.: While I was monkeying around with gadgets, I&#8217;ve made some minor changes to my <a href="http://brh.numbera.com/software/sidebargadgets/">Top Process gadget</a> &#8211; the text-fade option is no longer there since it really didn&#8217;t add anything, and I may have fixed a couple minor bugs.</p>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2008/11/17/360voicecom-challenges-windows-sidebar-gadget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bungie Card Windows Sidebar Gadget</title>
		<link>http://benhollis.net/blog/2008/10/21/bungie-card-windows-sidebar-gadget/</link>
		<comments>http://benhollis.net/blog/2008/10/21/bungie-card-windows-sidebar-gadget/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 18:35:46 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[Sidebar]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[Bungie]]></category>
		<category><![CDATA[Bungie Card]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Halo 3]]></category>
		<category><![CDATA[Windows Sidebar]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://brh.numbera.com/blog/?p=240</guid>
		<description><![CDATA[I suppose I&#8217;m a glutton for punishment. After writing my last two Windows Sidebar gadgets, I really meant to swear them off entirely. They&#8217;re really a pain to develop. But when my favorite video game developer, Bungie (recently of Halo fame) launched their new &#8220;Bungie Cards&#8220;, I knew I had to support them. Bungie Cards [...]]]></description>
			<content:encoded><![CDATA[<p>I suppose I&#8217;m a glutton for punishment. After writing my last two <a href="http://brh.numbera.com/software/sidebargadgets/">Windows Sidebar</a> gadgets, I really meant to swear them off entirely. <a href="http://brh.numbera.com/blog/index.php/2007/04/22/top-processes-windows-sidebar-gadget/">They&#8217;re really a pain to develop.</a> But when my favorite video game developer, <a href="http://bungie.net">Bungie</a> (recently of Halo fame) launched their new &#8220;<a href="http://www.bungie.net/News/content.aspx?type=topnews&#038;cid=15595">Bungie Cards</a>&#8220;, I knew I had to support them. Bungie Cards are basically like Xbox Gamer Cards, but for Halo 3. I assume when new Bungie games get released, they&#8217;ll feed into the Bungie Card system as well. <a href="http://brh.numbera.com/software/sidebargadgets/">My new gadget</a> is not terribly complicated &#8211; it just displays your Halo 3 Bungie Card, in either the small or wide form. </p>
<p class="blogimage"><a href="http://brh.numbera.com/software/images/screenshot/bungie_card_gadget.jpg"><img src="http://brh.numbera.com/blog/wp-content/uploads/2008/10/bungie_card_gadget_400.jpg" alt="" title="Bungie Card Gadget (thumbnail)" width="400" height="218" class="alignnone size-full wp-image-241" /></a></p>
<p>When it&#8217;s floating, you can choose either form of the Bungie Card. It&#8217;s a little weirder when it&#8217;s docked to the sidebar. First, it scales down to fit the sidebar. Then, to see the wide version, you just click on the gadget and the wide card shows up in a flyout. It&#8217;s a nice way to keep track of things without taking up too much space. As a bonus, double-clicking on either form will take you to your Halo 3 stats page.</p>
<p>Like the other gadgets I&#8217;ve done, this was much more difficult to develop than it should have been. The hardest part was getting the scaled-down card for when the sidebar is docked. At first I just zoomed out the page, like I had done for my Xbox Live Gamercard gadget, but it looked absolutely awful. With the exception of newer browsers like Firefox 3 and Safari, &#8220;resizing&#8221; an image by just changing the HTML element&#8217;s dimensions has always used nearest-neighbor filtering, resulting in a truly horrid image. My first instinct was to try and use the MS-proprietary &#8220;filter&#8221; CSS property to apply a <a href="http://msdn.microsoft.com/en-us/library/ms532972(VS.85).aspx">Matrix DXImageTransform</a> that would do the scaling, since that transform has an argument that&#8217;ll get it to use bilinear filtering, which is at least decent. However, Sidebar seems to think that that is a dangerous &#8220;active content&#8221; operation and blocks it. I tweaked it around for a while before stumbling on a workaround &#8211; the <a href="http://msdn.microsoft.com/en-us/library/ms532972(VS.85).aspx">BasicImage</a> filter was not blocked, and if I applied any transform at all, the basic zoom scaling would filter the image in a more pleasant way. So right now I&#8217;m using an opacity filter set to make the image completely opaque. It&#8217;s silly, but it works, and I guess this is what I should expect at this point. Trust me, you wouldn&#8217;t have liked it before &#8211; the image on the left is the way it looks now, the image on the right is with the original smoothing method:</p>
<p class="blogimage"><img src="http://brh.numbera.com/blog/wp-content/uploads/2008/10/smoothing_comparison.png" alt="" title="Bungie Card Smoothing Comparison" width="260" height="90" class="alignnone size-full wp-image-242" /></p>
<p>I actually have another Xbox-related Sidebar gadget in development which is more complex but of limited interest. I hope everyone enjoys the Bungie Card gadget &#8211; feel free to send me feedback directly, and please <a href="http://gallery.live.com/liveItemDetail.aspx?li=63b6d298-c983-4bf8-86eb-ce27b40582ac">rate the gadget at Windows Live Gallery</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2008/10/21/bungie-card-windows-sidebar-gadget/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up IIS7 (with bonus PHP instructions!)</title>
		<link>http://benhollis.net/blog/2008/03/09/setting-up-iis7-with-bonus-php-instructions/</link>
		<comments>http://benhollis.net/blog/2008/03/09/setting-up-iis7-with-bonus-php-instructions/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 05:16:00 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[Random]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://brh.numbera.com/blog/index.php/2008/03/09/setting-up-iis7-with-bonus-php-instructions/</guid>
		<description><![CDATA[Every time I try to set up IIS7 on a Windows Vista machine I run into the same series of problems. You&#8217;d think I&#8217;d have learned by now, but I usually just struggle through the cryptic error messages and get it working one way or another, then forget about it until the next time I [...]]]></description>
			<content:encoded><![CDATA[<p>Every time I try to set up IIS7 on a Windows Vista machine I run into the same series of problems. You&#8217;d think I&#8217;d have learned by now, but I usually just struggle through the cryptic error messages and get it working one way or another, then forget about it until the next time I need IIS7 on a machine that doesn&#8217;t have it. Finally I&#8217;d had enough and so I decided to write myself a little guide here so I won&#8217;t waste as much time next time. These instructions are basically the same as <a href="http://hajuria.blogspot.com/2007/11/installing-iis7-php5-25-on-windows.html">these</a>, but with additional detail and screenshots. </p>
<p><span id="more-158"></span></p>
<p>The first step is to actually install IIS7. Unlike in Windows XP, IIS isn&#8217;t installed by default. That&#8217;s great, but it can be kind of hard to find it when I need it.</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/windows-features-control-panel.png' title='Add or remove Windows features'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/windows-features-control-panel-thumb.png' alt='Add or remove Windows features' /></a></p>
<p>You&#8217;ve got to click this link that says &#8220;Turn Windows features on or off&#8221; which will (after some time) bring up a big tree of features you can check or uncheck.</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/windows-features-iis.png' title='Windows Features - IIS'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/windows-features-iis-thumb.png' alt='Windows Features - IIS' /></a></p>
<p>You&#8217;re going to want most of &#8220;World Wide Web Services&#8221;. If you are also interested in installing PHP, make sure everything I&#8217;ve circled in red is checked. I just added everything to be safe. What&#8217;s important is that you have the ISAPI and CGI stuff. I also checked the IIS6 compatibility bit so that installers for things like PHP might have a better chance at automatically configuring things (fat chance).</p>
<p>At this point you can start dropping things into <tt>C:\inetpub\wwwroot</tt> and everything should be peachy. I don&#8217;t put my sites there since I have them checked out into various folders in my Documents folder. So I need to create some virtual directories to point to my sites. This probably won&#8217;t work off the bat &#8211; you&#8217;ll get 403 errors that complain about wrong permissions or something. You need to make sure that the &#8220;IIS_IUSRS&#8221; and &#8220;Authenticated Users&#8221; users have read access to the directory. I&#8217;m not sure why &#8220;Authenticated Users&#8221; needs to be there but it made it work. Make it look like this:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/permissions.png' title='Setting permissions for IIS7'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/permissions-thumb.png' alt='Setting permissions for IIS7' /></a></p>
<p>At this point your folder should be accessible from the virtual directory, and any ASP.NET stuff will probably work. If you&#8217;re not interested in installing PHP, you can stop here.</p>
<h3>Installing PHP on IIS7</h3>
<p>PHP doesn&#8217;t really play well with IIS. However, we can get it going good enough for local testing of your PHP code. First, go install PHP5 from <a href="http://php.net/">php.net</a>. Choose to install it as an ISAPI extension for IIS, but don&#8217;t worry too much, since it won&#8217;t work anyway. Now open up IIS Manager. If you&#8217;ve followed the steps above (specifically, selecting the correct &#8220;Windows features&#8221;), your IIS manager should look something like this:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/what-to-look-for-iis.png' title='IIS Manager with ISAPI and CGI'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/what-to-look-for-iis-thumb.png' alt='IIS Manager with ISAPI and CGI' /></a></p>
<p>What&#8217;s important is that you have the parts outlined in red &#8211; the &#8220;CGI&#8221; icon, the &#8220;ISAPI Filters&#8221; icon, and the &#8220;ISAPI and CGI Restrictions&#8221; icon. Those mean the right bits are installed. </p>
<p>Now double-click the &#8220;Handler Mappings&#8221; icon, and click &#8220;Add Script Map&#8230;&#8221; Fill out the form like this:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/edit-script-map.png' title='Add PHP script map'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/edit-script-map-thumb.png' alt='Add PHP script map' /></a></p>
<p>Make sure it&#8217;s pointing to your real copy of php5isapi.dll. At this point your Handler Mappings screen should look like this:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/handler-mappings.png' title='IIS handler mappings'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/handler-mappings-thumb.png' alt='IIS handler mappings' /></a></p>
<p>Also make sure that your &#8220;ISAPI Filters&#8221; screen looks like this:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/isapi-filters.png' title='ISAPI filters'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/isapi-filters-thumb.png' alt='ISAPI filters' /></a></p>
<p>If not, add PHP like this:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/edit-isapi-filter.png' title='Edit ISAPI filters'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/edit-isapi-filter-thumb.png' alt='Edit ISAPI filters' /></a></p>
<p>If you&#8217;re running the 64-bit version of Vista like I am, there&#8217;s one last thing to do in IIS Manager. Since the PHP ISAPI extension is a 32-bit app, you&#8217;ll need to set your app pool to run in 32-bit mode. I&#8217;ve already <a href="http://brh.numbera.com/blog/index.php/2007/03/27/using-myodbc-with-aspnet-in-iis7-on-vista-x64/">written one blog post on this</a> (to get MySQL working with ASP.NET), and the instructions are the same. Basically open up the app pool&#8217;s advanced settings dialog and flip it to 32-bit mode:</p>
<p class="blogimage"><img src="http://brh.numbera.com/blog/wp-content/uploads/2007/03/iis32bit.png" alt="IIS 32-bit app pool" /></p>
<p>If you forget this you&#8217;re likely to get errors that look like &#8220;Calling LoadLibraryEx on ISAPI filter &#8220;C:\Program Files (x86)\PHP\php5isapi.dll&#8221; failed&#8221;.</p>
<p>If you load up your PHP files you&#8217;ll probably get something like &#8220;failed opening required&#8221; blah blah. This is because the PHPRC environment variable isn&#8217;t set correctly by the PHP installer. We&#8217;ll have to do it ourselves. Go to the Control Panel and search for &#8220;env&#8221;:</p>
<p class="blogimage"><a href='http://brh.numbera.com/blog/wp-content/uploads/2008/03/control-panel-env.png' title='Environment variable link'><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/control-panel-env-thumb.png' alt='Environment variable link' /></a></p>
<p>Now add a System environment variable like this (point it at the directory PHP is installed):</p>
<p class="blogimage"><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/edit-system-variable-thumb.png' alt='PHPRC env variable' /></p>
<p>At this point you must reboot your computer to get the environment variable to take effect. Annoying but true. At this point PHP should work, more or less.</p>
<p>I still have some problems with PHP the way I&#8217;ve described configuring it. The most obvious is that the IIS worker crashes every once in a while:</p>
<p class="blogimage"><img src='http://brh.numbera.com/blog/wp-content/uploads/2008/03/iis-crash.png' alt='IIS worker crash because of PHP' /></p>
<p>I suspect reconfiguring PHP to be run as a CGI handler instead of an ISAPI module would help here, but it hasn&#8217;t been annoying enough to make me go change it. Another avenue to investigate is the new <a href="http://learn.iis.net/page.aspx/272/installing-php-on-windows-vista-with-fastcgi/">FastCGI support that&#8217;s available for IIS7</a>.</p>
<p>The other problem I&#8217;ve had is that I have a handful of image files in one of my sites that are managed by <a href="http://subversion.tigris.org">Subversion</a> and get locked and unlocked pretty frequently. After I&#8217;ve committed an image, it loses its permissions and can&#8217;t be served from IIS anymore, and I need to go reset the permissions. That&#8217;s pretty annoying, and I&#8217;m not sure if it&#8217;s a bug in Subversion or in one of my SVN clients (<a href="http://tortoisesvn.tigris.org">TortoiseSVN</a> and <a href="http://subclipse.tigris.org">Subclipse</a>).</p>
<p>At least this setup works enough to try things out quickly. I hope it helps anyone else who&#8217;s struggling with one of these setups.</p>
<p><strong>Update:</strong> You might want to try out the new <a href="http://www.microsoft.com/web/channel/products/WebPlatformInstaller.aspx">Microsoft Web Platform Installer</a> which purports to set up PHP along with anything else you might need.</p>
 <div class="postAdsense">
<script type="text/javascript"><!--
google_ad_client = "pub-0806135767465122";
/* BRH Blog Post */
google_ad_slot = "2708897180";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2008/03/09/setting-up-iis7-with-bonus-php-instructions/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MSN Messenger needs to be able to sign in from multiple locations at once</title>
		<link>http://benhollis.net/blog/2007/06/20/msn-messenger-needs-to-be-able-to-sign-in-from-multiple-locations-at-once/</link>
		<comments>http://benhollis.net/blog/2007/06/20/msn-messenger-needs-to-be-able-to-sign-in-from-multiple-locations-at-once/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 02:55:57 +0000</pubDate>
		<dc:creator>Ben Hollis</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[Instant Messaging]]></category>
		<category><![CDATA[MSN Messenger]]></category>

		<guid isPermaLink="false">http://brh.numbera.com/blog/index.php/2007/06/20/msn-messenger-needs-to-be-able-to-sign-in-from-multiple-locations-at-once/</guid>
		<description><![CDATA[Like most Americans, I&#8217;ve been using the AOL Instant Messenger IM network for the last 10 years or so. As I&#8217;ve made more friends who prefer other networks, I expanded to multi-platform IM clients that let me sign into all the major IM networks at once. I&#8217;ve used Trillian, Adium, Meebo, and Pidgin over the [...]]]></description>
			<content:encoded><![CDATA[<p>Like most Americans, I&#8217;ve been using the AOL Instant Messenger IM network for the last 10 years or so. As I&#8217;ve made more friends who prefer other networks, I expanded to multi-platform IM clients that let me sign into all the major IM networks at once. I&#8217;ve used <a href="http://www.ceruleanstudios.com/">Trillian</a>, <a href="http://www.adiumx.com/">Adium</a>, <a href="http://www.meebo.com">Meebo</a>, and <a href="http://pidgin.im/pidgin/home/">Pidgin</a> over the years, and I have active screen names on AIM, MSN, Yahoo, GTalk, and various Jabber services. So when it was announced that the Xbox 360 would include an MSN Messenger client with the Spring update, I was excited. I&#8217;m already signed in to MSN all the time, so I thought this would just be another great way to stay connected.</p>
<p>Unfortunately, MSN has a pretty big problem. Whenever you sign in to your MSN account from one location, it signs off, all the other locations. If I&#8217;m running Pidgin  on my desktop and I open Meebo on my laptop, my desktop gets signed out. And when I start my Xbox, it automatically signs on and knocks everybody else off. The end result is that I&#8217;m almost never signed in to MSN, which pretty much defeats the purpose. My buddy list reflects this &#8211; my friends are online only when their Xboxes are on. It&#8217;s worth pointing out that Yahoo Messenger suffers from this problem too, but it doesn&#8217;t bother me as much since I don&#8217;t have many Yahoo friends.</p>
<p class="blogimage"><img src='http://brh.numbera.com/blog/wp-content/uploads/2007/06/pidgin.png' alt='MSN getting kicked off' /></a></p>
<p>With more and more devices getting IM capability, I can&#8217;t see how this restriction can continue. My desktop is always on and signed in to my IM client. My phone will have an always-on IM client. Another one on my Xbox. Another on my laptop. Another at work. And I&#8217;m switching between them all the time. And with more and more people using multi-protocol clients, they&#8217;re less likely to notice the one account that&#8217;s decided to sign itself off. It&#8217;s especially frustrating on the Xbox, since it means I can&#8217;t just use my laptop to send IMs to my friends while I play and still get notifications on my TV. IM has the potential to be awesome on the Xbox, but not as long as it&#8217;s stuck with a one-device-at-a-time protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://benhollis.net/blog/2007/06/20/msn-messenger-needs-to-be-able-to-sign-in-from-multiple-locations-at-once/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
