Setting up my Windows environment

Since I am not working with a Windows environment on a day-to-day basis, the first task for the WinPHP Challenge for me was to actually install a Windows environment and get my development environment up and running.

As I don't have any spare hardware on which I can install Windows, setting up Windows for me meant creating a new Parallels virtual machine on my iMac. On that VM, I installed Windows Server 2008, of which I still had a copy lying around.

The easiest way I had heard of to get a server environment up and running must be the Web Platform Installer by Microsoft, which you can use to easily install IIS and PHP. So, I downloaded the Web Platform Installer and used it to install IIS and PHP. It was indeed pretty easy to install all the things I needed, with automatic installation of dependencies, however it was a nuisance every once in a while, because several of the components I had to install required me to reboot my Windows. All in all, I think I had to reboot 4 times to get my platform up and running. When twittering about this, I did get a response from Josh Holmes that it was not supposed to do that, so I am not sure what happened there.

Since I am using Github for my code, I also needed to get Git up and running. Now I heard horror stories about running Git on Windows but actually it is quite easy as it turned out. It is just a matter of installing mSysGit and off you go. I especially like the Git Bash commandline that gets installed that way (which I'm really used to while working with Git on Linux and OSX).

After having cloned the MediTerra repository, it was time to install an IDE. Lately I have become a fan of the Jetbrains PhpStorm IDE, and since they have a Windows build available I decided to install that one. Starting it and creating a project from the cloned MediTerra repository worked fine and it seems PhpStorm runs like a charm, just like it does for me on Linux.

Since I am building an application that is supposed to run on Windows Azure, and I want to develop my application without having to deploy to Azure itself all the time, I also need the Azure SDK. I downloaded the SDK and tried to install it, but found out it has some dependencies that I needed before being able to install the SDK. The first one (.NET Framework 3.5 SP1) was listed on the SDK page (stupid me, I should've read), was an easy download and install. The second one was MS SQL server, of which the Web Platform Installer has an easy installation option. Luckily the Web Platform Installer is really as easy as opening the WPI installer, selecting the package you want and click install. It takes a short bit but then you've got it installed and up and running. 

The installation of the Azure SDK was pretty straightforward after that. Well, I ran into a strange problem where the SDK installer would basically stall on checking for diskspace requirements, but there's nothing a Windows reboot does not solve ;) and after that, the SDK installed fine. One bit of feedback towards Microsoft though: Get the Azure SDK into the WPI to make it all even easier.

So now I have a seemingly running local environment. It's time to start working on the code. This is where I'll leave it now, and start with my next blogpost.

Add comment

Php5_zce_logo

not tested in IE


Upcoming events

I will be speaking 08-10-2010: Symfony Day Cologne 2010
I will be speaking 09-10-2010: Symfony workshop

Tags

1337 2008 2010 4developers access modifiers accessibility AdaLovelaceDay09 advent agavi agile amsterdam apache apple article articles atk atkMetaNode audioscrobbler azure backwards compatibility barcelona bbc bbq beatstad belgium best practices bittorrent boards of canada book books bughuntday caching cake cal evans career cat cerf certificate cfp clear cms cologne common sense communities community conference conferences continuous integration contribute crisis css custom datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex documentation download dpc dpc09 dpc10 DPC2008 dreamhost dv7 eclipse ed efficiency enterprise errors event events expertise ezcomponents facebook flickr framework frameworks freelance freeze frontend fun games germany getting real google googletalk graceful degradation hack hackers hidden gem hiphop howto hp html http ibuildings icann ide idm imovie indy ingewikkeld internet IPC ipc ipc08 javascript job jobeet john peel joomla kubuntu left on the web lighttpd lime linux live london loudblog m2ts mac malware mambo marjolein mediterra meeting meme meta methodology microsoft movie music mysql namespace namespaces netbeans netherlands nllgg odmarco open source opinion ORM osx paradiso pavilion pear performance personal pfc10 pfcongres pfcongrez photo php phpabstract phpazure phpBB phpbb phpbelgium phpbenelux phpbnl10 phpgg phpitalia phpnw phpnw08 phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations private projects protected public qa recruiting refactoring review rewrite ruby on rails schedule scifi script security seven things sfdaycgn simplexml slides smfony software sogeti solar sound standard standards star trek static steer strings subversion symfony Symfony2 symfonycamp symfonyday symfonyUnderControlPlugin talk talks technology techportal tek09 telecommuting terratec terrorism testfest testing textpattern tips tld tomas training twig uncon unet usability usergroup validation vhost video vinyl virus warp weblogging wiki windows winphp women work workshop world world of warcraft wpi writing xml xpath xsd yara year youtube ZCE zemanta zend zend framework zend server zend studio Zend_Form
© 2004 - 2010 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1