The following steps will help you install
and configure both PHP and FastCGI support for Server Core once you have the Microsoft Installer
(MSI) file downloaded (you perform all of these steps at the Server Core console).
PERFORMING THE IIS INSTALLATION
557
1.
Type
PkgMgr /IU:IIS-CGI;IIS-ISAPIExtensions;IIS-LoggingLibraries
and press Enter.
2.
Verify the IIS-CGI installation succeeded using the OCList utility. You should see results
similar to those shown in Figure 24.6.
Figure 24.6
Verify that you have
added CGI support to
the server.
3.
Use the
CD
command to change directories to the root directory.
4.
Type
MD PHP
and press Enter to create a storage directory for the PHP files.
5.
Use the ICACLS utility to provide yourself with shared access to the folder. For example,
you might type
ICACLs C:\PHP /grant:r
YourName
:(F) /T /C
and press Enter to give
yourself access.
6.
Extract the files from the ZIP file and move them to the
C:\PHP
folder of the Server Core
installation from your client machine.
7.
Add the IIS executable directory to your path statement so that you can create the required
handler mappings for both PHP and FastCGI by typing
PATH=%PATH%;C:\Windows\System32\
INetSrv
and pressing Enter.
Pages:
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279