Storage facilities
Posted on 30 Mar 2009 at 15:33
Jon Honeyball makes the most of tumbling prices by ordering a tower of storage, and David Moss continues setting up a course management system.
In Server 2007 R2 it's easy to configure, just a few mouse clicks. Of course, you'll need to fully test this configuration to ensure that failover works and hands out the right addresses. I have just one doubt, though - in its example the DHCP group uses 10.x.x.x as the main IP address range. I have no problem with 10.x.x.x, which is one of the private address ranges in the IPV4 address space. Unfortunately, the failover machine uses 20.x.x.x, which is a real address range used for real computers on the real internet. I looked at the screenshots and thought I must be going mad, but no, that's the example. Someone, somewhere was having a bad brain day, unless they know something we don't. Emails to the usual address if you think that DHCP group is correct!
Jon Honeyball
CMS continued
Welcome back to this month's Server Room, where I'll be carrying on my project to set up a Course Management System (CMS). This is pretty much like a Content Management System for educators, so pay attention at the back or you'll be in detention.
Back to the job in hand. So far I've successfully installed and configured Internet Information Server (IIS) 7 on Windows Server 2008 and then installed PHP (PHP Hypertext Processor). As an aside, PHP really does stand for PHP Hypertext Processor - a recursive acronym or sort of smart-arsed nerdy joke. It used to stand for Personal Home Page, but was changed to PHP Hypertext Processor because someone liked messing with people's heads. When I left the story last month PHP was ready to be integrated with IIS 7, so that's what I'm going to do now.
To achieve this you'll need to run Internet Information Services (IIS) Manager, which you can either invoke from inside Server Manager, or from its own entry in Administrative Tools. Once it's running, highlight the server name in the left-hand pane and you'll be greeted by a set of icons in the middle pane, which should be labelled "Servername Home". Look for Handler Mappings and place your mouse pointer over it to find out what it does (it enables you to "Specify resources that handle responses for specific request types"). In plain English, that means this is where you create a module that enables IIS 7 to work with your new installation of PHP. Now you need to tell IIS 7 where PHP is located, and what type of module you want.
Double-click on Handler Mappings, and you'll see in the centre pane a list of the disabled and enabled modules in IIS 7. You're going to create a new module for FastCGI, so click on "Add Module Mapping..." in the right-hand pane then, with the Add Module Mapping dialog open, fill in the following values:
Request Path: *.php
Module (select from drop-down list): FastCgiModule
Executable: C:\PHP\php-cgi.exe
Name: PHP FastCGI
You can choose any name you like, but I just went for an easily identifiable one. If you click on the <...> button to browse for the executable file you might be momentarily nonplussed when you get to your PHP folder, on discovering that all you can see are lots of .dll files. However, look in the bottom right-hand corner of the Open dialog and you'll see a dropdown that defaults to only showing DLLs. Click on this and select *.exe instead, and you'll now see the three executable files that are in that folder.
Click OK when you've finished filling in the fields, answer Yes to create a FastCGI application, and you should see your new module appear in the Enabled list in the centre pane. That's it - job done, and IIS 7 is now configured to use your PHP installation, which you can prove by firing up the oldest code editor in use in Windows today. That's right, it's Notepad time. Fire it up, and enter the following line:
advertisement
- Getting to grips with Microsoft's IT Health Environment Scanner
- Virtualise your servers
- The changing face of travel gadgets
- Build your own distributed file system
- The bulletproof Dell that costs an arm and a leg
- Microsoft Office 2010 Technical Preview: Q&A
- Lawnmowers, the TyTN II and one odd insurance request
- There'll never be a bulletproof OS
- How far can we trust apps?
- Five nice touches in Outlook 2010
- ATI Radeon HD 5970: 42% more expensive in the UK
- Office 2010 Beta – 32-bit or 64-bit – The Choice is Clear
- Why Britain's watchdogs have fewer teeth than goldfish
- Tabbed documents: how to make Office 2010 great
- Outlook 2010 People Pane – does it spell death to Xobni
- Microsoft Outlook 2010 screenshots
- Co-Authoring in Word 2010 and SharePoint Foundation 2010
- Microsoft Outlook 2010 screenshots: Backstage view
- Flash 10.1: Developing for Desktop and Device
- Microsoft Office 2010 screenshots: Recover unsaved items
- Sky Player shows up in Windows 7
- Tweetlevel reveals most influential Twitterers
- Apple "refuses to repair smokers' Macs"
- Spotify arrives on Symbian
- Chrome OS and Android to "converge over time"
- Microsoft to pay News Corp to stay off Google
- Christmas sales surge knocks out eBay search
- Windows 8 set for 2012 release
- Q&A: Why Conficker was a victim of its own success
- App developers losing faith in Android
advertisement
Printed from www.pcpro.co.uk


