{"id":1553,"date":"2012-03-05T11:36:59","date_gmt":"2012-03-05T11:36:59","guid":{"rendered":"http:\/\/www.webputzer.com\/?p=1553"},"modified":"2013-12-10T02:04:37","modified_gmt":"2013-12-10T02:04:37","slug":"wordpress-on-iis-6","status":"publish","type":"post","link":"http:\/\/www.webputzer.com\/?p=1553","title":{"rendered":"WordPress on IIS 6 (and IIS 7)"},"content":{"rendered":"<p>A quick note: it&#8217;s simple to set up, and, it runs great.<\/p>\n<p>This web site is only in existance because I wanted to see if WordPress would run on IIS 6 (I&#8217;ve run Linux servers, for years). I&#8217;d read a bunch of posts in which people were having various problems installing, and, running WordPress on IIS 6 and &#8211; always tinkering &#8211; I wanted to try the thing and see what happened. I&#8217;d read some posts where people were griping about their web host running IIS, they wanted to install WordPress and it was a big pain, etc. I knew almost nothing about IIS 6 so I figured I was in for major headaches &#8211; but, hey, I like a challenge. In fact, the WordPress installation was very simple and without any major problems. And, this darned thing (Wordpess on IIS 6) has been running fine for months. <strong>Go figure.<\/strong> Virtually every feature works and it was brain-dead. I haven&#8217;t found any plugins, really, that failed to work. The only issue, at all, is the fact that IIS does not support mod_rewrite. Anyway, I&#8217;m still confused. <em><strong>WordPress runs just fine from IIS 6<\/strong><\/em>. Obviously, you have to install PHP and MySQL &#8211; which is stupidly simple. If you&#8217;ve ever installed a WAMP server on XP, for instance, it&#8217;s about the same level of &#8220;complexity&#8221; (in other words, it ain&#8217;t complicated). Maybe if you were buying web hosting Linux would make more sense for WordPress &#8211; really, I don&#8217;t really see where it would matter&#8230;. Actually, installing and running WordPress could be a bit more complicated on IIS (as compared to Linux) if you&#8217;re web host doesn&#8217;t tweak some permissions. If your web host knows what they&#8217;re doing, it should be painless.<\/p>\n<p>If I ever hit the lotto, maybe I&#8217;ll actually buy a copy of Windows Server 2003 &#8211; it&#8217;s pretty damned nice, kids! At this point, I think a lot of the bitching is coming from the &#8220;I hate Microsoft because they&#8217;re a &#8216;for profit&#8217; business&#8221; crowd.<\/p>\n<p>I love Linux, and, I love Microsoft stuff. I was introduced to the Mac late in life &#8211; and I&#8217;m a big fan of those, too. I&#8217;m just more comfortable on a computer running Windows because I&#8217;ve used it for a very long time. Anyway, I don&#8217;t care about the politics.<\/p>\n<p><strong>Editorially speaking:<\/strong> Microsoft is constantly bashed for selling their products. If it were not for Microsoft, to a large extent, everybody on the planet would not have a computer in their home. And they make really, really nice stuff &#8211; and they need to get paid for it, in order to continue making really, really nice stuff. A lot of my Unix buddies gripe about Microsoft and I think it&#8217;s pretty damned silly. And, by the way, a lot of Linux distros are now selling various features, support, etc. in order to make try to make better products &#8211; uhm&#8230;just like Microsoft.<\/p>\n<p>At the moment I store a bunch of random notes on this site &#8211; it&#8217;s a bit of a mess. I&#8217;m certain you&#8217;ll wanna check out my dog pictures and my eclectic collection of music videos &#8211; MAYBE NOT.<\/p>\n<p><span style=\"font-size: 18px;\"><strong>The Steps<\/strong><\/span><\/p>\n<p>Setting up IIS 6 with PHP and MySQL was no big deal, and, the WordPress installation was just like a WordPress install on Linux &#8211; here&#8217;s an outline of what I did for PHP and MySQL:<br \/>\n<a href=\"http:\/\/www.webputzer.com\/index.php?cat=5&amp;paged=2\"><strong><span style=\"text-decoration: underline;\">PHP &amp; MySQL on IIS 6<\/span><\/strong><\/a><\/p>\n<p>To play flash videos, mp4s, etc. you have to add some mime types. I can&#8217;t recall the exact syntax for an mp4, but it works. On a random note, I recall that you have to add a mime type for .png images (kinda weird). Anyway, this is what I did:<br \/>\n<a href=\"http:\/\/www.webputzer.com\/?p=323\">Adding MIME Types in IIS 6<\/a><\/p>\n<p>Recently I set up WordPress on IIS 7 using ISAPI php &#8211; actually, the FastCGI version of php is recommended. The ISAPI version is considered unstable &#8211; but, I haven&#8217;t had have any major problems with the thing (so far&#8230;). There were a couple of minor &#8220;hiccups&#8221; but working around them was not a big deal. Here&#8217;s a link to my notes:<br \/>\n<a href=\"http:\/\/www.webputzer.com\/?p=943\"><strong><span style=\"text-decoration: underline;\">PHP &amp; MySQL on IIS 7<\/span><\/strong><\/a><\/p>\n<p>I haven&#8217;t tried the FastCGI installation, yet (I&#8217;m always puttering around &#8211; I will soon) but here&#8217;s some info I grabbed from the web regarding that installation:<br \/>\n<a href=\"http:\/\/www.webputzer.com\/?p=1018\"><b><u>FastCGI PHP on Server 2008<\/u><\/b><\/a><\/p>\n<hr \/>\n<p><span style=\"font-size: 15px;\"><strong>Check a site&#8217;s server<\/strong><\/span><\/p>\n<p>This is kind of a nifty tool, from Netcraft, that will allow you to enter a domain and determine the server type:<br \/>\n<a href=\"http:\/\/uptime.netcraft.com\/up\/graph\"><strong><span style=\"text-decoration: underline;\">Check Server Type<\/span><\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A quick note: it&#8217;s simple to set up, and, it runs great. This web site is only in existance because I wanted to see if WordPress would run on IIS 6 (I&#8217;ve run Linux servers, for years). I&#8217;d read a bunch of posts in which people were having various problems installing, and, running WordPress on [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3630,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"h5ap_radio_sources":[],"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1553","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/1553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1553"}],"version-history":[{"count":0,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/posts\/1553\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=\/wp\/v2\/media\/3630"}],"wp:attachment":[{"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1553"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.webputzer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}