PHP IIS7 Web Platform Installer 3.0 Unsupported OS Error!

OK, so while trying to install PHP 5.3 on IIS7.5 from this page I kept getting an error message saying that I was not using a supported operating system. The issue is that I was using Windows 7 (and later Windows Server 2008) which are both supported operating systems. I don’t have a screenshot of the error, but if you’re reading this – you probably know what I mean. This can’t be an isolated issue and maybe reveals a deeper issue with Microsoft’s bad OS detection mechanism.

How did I fix it? Pretty simple actually. It turns out that I had Web Platform Installer 2.0 installed. The PHP IIS site uses WPI 3.0, so maybe there is a version incompatibility. To get around it I went to Internet Information Services (IIS) Manager, and double clicked “Web Platform Installer” under Management. This did a quick upgrade to 3.0, and then I was able to download PHP 5.3.5 in a snap from the Window that comes up!

Basically – don’t use the website to install it.

Note: Another useful product to install with WPI is “Microsoft SQL Driver v2.0 for PHP v5.3 in IIS” found under “Products”>”Database”. This allows you to easily connect PHP to a SQL Server database using PDO.

God almighty that was a lot of acronyms. I count 6.

Chow,
-Mike

Find sticky tags with Tortoise CVS in Windows 7 and Vista

Situation: I want to find a list of all the files in one of my CVS directories that have sticky tags. The code may have been stickied weeks ago, but is no longer receiving updates to the code due to it being fixed!

Problem: Any new (post XP) version of Windows does not allow custom columns in Windows Explorer.  Back in the Windows Server 2000, or XP days when you installed Tortoise CVS you would get a few columns (such as current revision and Sticky Revision) added to any CVS folders in Explorer.

Solution: After trying out a few different types of file managers with no success I finally found the solution inside Tortoise CVS. What you need to do is:

  1. Right-click your root CVS folder, go to the CVS menu, and click Update Special.
  2. Check the box “Get tag/branch/revision” and leave it as Head.
  3. Go to Advanced, and check Simulate update. Now don’t worry, NO FILES WILL BE UPDATED. You won’t be returning your whole application to head branch.
  4. Click OK and after CVS has run it should provide you with a list of files that will be returned to Head branch (basically the files you had stickied).

Hope this helps someone out there who had the same problem as I did.

Happy source-controlling,

Mike