Installing PHP on Windows 7

PHP is one of the most common web languages out there, Windows is the most used operating system in the world… So I’ll take a wild guess and say many PHP developers use Windows, thus have to install PHP on windows to do their work or test their websites before releasing them online.

Many developers use bundles like XAMPP Or WAMP to install an Apache server, MySql server and PHP. I personally use Microsoft’s ASP.Net for web development most of the time but sometimes I do things on PHP – which is still an awesome scripting language – so I tried to cut back on the resource consumption and get PHP to work on Windows IIS Server.

That was a bit difficult on Windows XP, there were too many things you had to do to get it working. But for Windows 7… Getting PHP to work on IIS will take a couple of minutes if you had a good internet connection. So getting to those steps:

  1. Download and install Microsoft Web Platform Installer.
  2. Start the web platform installer.
  3. While waiting for it to start click on the “Start” button and type “Turn windows features on or off” without the quotes of course.
  4. After the window opens go to the “Internet Information Services ==> World Wide Web Services ==> Application Development Features” And make sure CGI is checked, then click the OK button.
  5. Go back to the Web Platform Installer, and type PHP in the search box and hit the enter button.
  6. When the search results show up, click the “Add” button next to “PHP Manager for IIS”, and press the Install button.
  7. Follow the simple dialogs until you’re done, and voilà, you have PHP running on IIS now.

Let me know how it works out for you

.NET Framework Library Source Code now available – ScottGu’s Blog

The .NET Framework source is being released under a read-only reference license. When we announced that we were releasing the source back in October, some people had concerns about the potential impact of their viewing the source. To help clarify

.NET Framework Library Source Code now available – ScottGu’s Blog

Microsoft Visual Studio 2005 SP1

I just love Microsoft. I tried to download and install Microsoft Visual Studio 2005 SP1. It only took few moments before giving me the “The upgrade patch cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exsists on your computer and that you have the correct upgrade patch.” error.

It seems that I don’t have enough of Microsoft bull****. So I decided to visit the download website and check the “installation instructions“. But nothing, and I repeat, nothing about uninstalling the BETA is there.

So I took a little trip to Microsoft Connect to find someone having the same problem. So I looked up the only workaround posted. And I don’t know who is AlexAtQx or whether he is a Microsoft employee or just a regular user. But it seems that he was the first to find a solution to our little problem. The solution was simple, and pretty expected from Microsoft. You have to uninstall the BETA before installing the release. According to “Heath Stewart’s Blog“.

I’m on it, the roll-back of the BETA is in progress. Wish me luck “I’m working with a trio of Microsoft products”smile_zipit

del.icio.us tags: Microsoft, Visual, Studio, 2005, SP1, BETA, Install, Uninstall, patch, upgrade