You can now evaluate the Windows 2008 Server Release Candidate 0 Version (See: Windows 2008 Server Beta)
Just as a quick follow on from my article about installing PHP for IIS, I thought I’d be interesting to show how you’d do the same on Windows 2008 Server (I assume that things won’t change drastically from the Release Candidate to the Final RTM (Release To Manufacture/Market) Version).
Instead of being as verbose as I was previously, this time, it’s just a series of pictures with brief comments:
Figure 1

Figure 2
Figure 1 and 2:
Open Server Manager and Install IIS, be sure to include CGI as this includes FastCGI also.

Figure 3
Figure 3:
Download PHP from www.php.net and be sure to extract it to C:\PHP. Start the Internet Information Services (IIS) Manager User Interface by pressing the WindowsKey+R and typing inetmgr.
Figure 4
Figure 4:
Create a small file in the root of your Default Web Site called hello.php
<?php
phpinfo();
?>
Figure 5
Figure 6
Figure 7
Figures 5,6 and 7:
You now need to configure IIS and let it know about PHP files using the CGI (FastCGI) framework You need to ensure that the PHP executable you use is C:\PHP\php-cgi.exe (and not the C:\PHP\php5isapi.dll) as in my previous HOWTO. That HOWTO was for a different scenario, this is for a different scenario.
You can now browse on over to http://localhost/hello.php and see your the output of your hello.php script. Enjoy.
Kudos to Rick James over at IIS Blogs for the heads up on this. Cheers mate! If any of you do give this a go, please do let me know how you get on, and what other issues you’ve had. If we can get synergy properly between Commercial and Open Source working properly, that’d be absolutely awesome. I can even forsee a day when PHP is part of the new Windows Infrastructure, and .NET is a part of the Linux environment.
Can’t we all just be friends!!
Warm Regards,
Shabbir



1 Response to “Installing PHP 5.2.4 on Windows 2008 Server (RC0) in Pictures”