Geeks With Blogs

Tim Murphy

Tim is a Solutions Architect for PSC Group, LLC. He has been an IT consultant since 1999 specializing in Microsoft technologies. Along with running the Chicago Information Technology Architects Group and speaking on Microsoft and architecture topics he was also contributing author on "The Definitive Guide to the Microsoft Enterprise Library".

I review for the O'Reilly Blogger Review Program

Technorati Profile

Tim Murphy's .NET Software Architecture Blog Adventures in Architecting and Developing .NET


It is always interesting to find out what technology I will have to work with next.  One of the latest that I’ve had to learn is PHP and since I am running Windows 8 I had to get it working in that environment.  At first I tried just downloading the Apache server files and running that, but then you have to deal with possible collisions between Apache and IIS.  In the end I found out that it is easier to setup PHP for IIS.

The first thing you need to make sure that the IIS feature installed.  Then you install WinCache via the Web Platform Installer.  You will find this by searching for PHP.  This seems to install all of the PHP components but you may need to also install the PHP itself (I was only able to find the Express version in the Web Platform Installer).


Fortunately when it comes to PHP the concepts are familiar.  Basically it is the same style of page generation as Classic ASP with a syntax akin to C or Javascript.  The biggest difference that I found is that variables are simply denoted by using a $ and you don’t need to use a format method to insert variables into output.  The code below shows examples of these usages.

$companyname = "PSC Group";
echo "$companyname PHP Test <br/>";

You can get a quick reference for PHP here.  With these couple of pieces of information you should be able to quickly get started developing PHP sites using your Windows 8 environment.

Posted on Tuesday, March 26, 2013 8:14 AM Development , Windows 8 , PHP | Back to top

Comments on this post: Beginning PHP On Windows 8

# re: Beginning PHP On Windows 8
Requesting Gravatar...
I have also recently had to delve into PHP learning WordPress.

The transition from MVC to Word Press has actually been easier than I would have thought.

Given that I was also once a PERL monger, the transition has maybe been easier than most.

I have rather enjoyed learning something new.
Left by Nick Harrison on Mar 26, 2013 11:28 AM

# re: Beginning PHP On Windows 8
Requesting Gravatar...
Pls I just installed PHP 5 on my windows 8 mechine but can't run my PHP scripts. Would be greatful with any assistance on how to configure it.
Left by ben on Jul 12, 2013 3:23 PM

Your comment:
 (will show your gravatar)

Copyright © Tim Murphy | Powered by: | Join free