Prev | Current Page 1268 | Next

John Paul Mueller

"Administering Windows Server 2008 Server Core"


8.
Type
AppCmd Set CONFIG /section:system.webServer/fastCGI /+[fullPath='C:\PHP\
PHP-CGI.EXE??™]
and press Enter to add the FastCGI support.
TIP
The AppCmd utility is a new utility for Server Core. You??™ll find it described in the ???Using the
AppCmd Utility??? section of Chapter 25. This utility makes it easier to perform IIS 7 configuration tasks
from the command line. Of course, you always have the option of modifying the configuration files
directly. This technique appears in the ???Modifying the Config Files??? section of Chapter 25. Basic
configuration is easier to perform with the AppCmd utility, so that??™s why you??™ll see it used exclusively
in this chapter.
9.
Type
AppCmd Set CONFIG /section:system.webServer/handlers /+[name='PHPFastCGI??™,
path='*.php??™,verb='*??™,modules='FastCgiModule??™,scriptProcessor=
'C:\PHP\PHP-CGI.EXE??™,resourceType='Either??™]
and press Enter to add the FastCGI
handler for PHP files.
10.
Type
AppCmd List CONFIG /section:system.webServer/fastCGI
and press Enter to verify
the support entry. Type
AppCmd List CONFIG /section:system.webServer/handlers
and press Enter to verify the handler entry.


Pages:
1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280
parasole reklamowe Wynajem samochodow Warszawa Atari ATB Firmy chińskie pomorskie