Changes between Version 45 and Version 46 of ConfigureGuide22Windows
- Timestamp:
- 09/08/10 14:47:53 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ConfigureGuide22Windows
v45 v46 11 11 ==== Install IIS 7.x to Windows 7 or Windows 2008 Server ==== 12 12 13 By default, IIS 7 is not turned onunder either Windows 7 or Windows 2008 Server.13 By default, IIS 7 is not enabled under either Windows 7 or Windows 2008 Server. 14 14 15 How IIS feature is turned onunder Windows XP/7 or Windows Server is different.15 How IIS feature is enabled under Windows XP/7 or Windows Server is different. 16 16 17 To turn onthis feature under windows 7, go to Control Panel->Programs->Turn Windows Features On or Off, in the poped up Windows Features, expand Internet Information Services, check WWW Services, click OK to install the selected features.17 To eanble this feature under windows 7, go to Control Panel->Programs->Turn Windows Features On or Off, in the poped up Windows Features, expand Internet Information Services, check WWW Services, click OK to install the selected features. 18 18 19 19 Under Windows 2008 Server, go to Control Panel->Administrative Tools->Server Manager, in the left panel, select Role, in the right panel, click Add Roles->Server Roles->Web Server(IIS), click OK to add the selected Role, then in the left panel, select Feature, in the right panel, click Add Features, a window with available windows features should open. Find Web Server (IIS) Tools and check it, click OK to install this feature. … … 22 22 23 23 To configure IIS with PHP, IIS needs to know where "php.ini" is. IIS gets to know the location of this file through a registry entry, which is HKEY_LOCAL_MACHINE->SOFTWARE->PHP->!IniFilePath with string value '''c:\php\''', suppose PHP is installed under c:\php. If PHP is installed with Windows installer, the registry entry is created automatically, otherwise, this key needs to created manually. 24 25 If you have multiple PHP installed, it might be tricky to tell IIS which PHP to use, which is beyond the scope of this document. Please refer to [http://www.php.net/manual/en/configuration.file.php this site] for information about '''IniFilePath'''. 24 26 25 27 ==== Open IIS Manager by going to Control Panel->Administrative Tools->IIS Manager ==== … … 34 36 Start Application Pool Immediately: true 35 37 }}} 36 2. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory, Applications. The configuration of lower level can inherate from its parent level. For this reason, we only configure Server level. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The minimum configurations are Handler Mapping, ISAPI and CGI Restrictions 38 2. IIS configuration has several levels, the topmost levle is Server(or Host), then Sites, Virtual Directory, Applications. The configuration of lower level can inherit from its parent level. As a demonstration, we only configure Server level in our mapguide example. In the left panel, select what every your machine name is, there should be a list of configuration categories in the right panel. The minimum configurations are Handler Mapping, ISAPI and CGI Restrictions 39 40 Bear in mind that if you configure IIS on Server level, all your applications deployed to IIS will have the same configuration, which might not be what you want. So please carefully design your IIS configuration such as which configuration should be on Server level, which on Virtual Directory level. General rule is to put the shared common configuration to Server level, while finely tune each application by configuring the virtual directory level. 37 41 38 42 3. Handler Mapping->Add Module Mappings, add the following module mappings