1. Changed <orderedlist> to <procedure> with <simpara>.

2. Reduced the size of one big screenshot.
3. Added line breaks to long command lines.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@289817 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ruslan Yakushev 2009-10-21 04:49:11 +00:00
parent 9ee3ebd0e3
commit 8cc8e803f1
3 changed files with 102 additions and 95 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 53 KiB

View file

@ -88,22 +88,22 @@ cscript %windir%\system32\inetsrv\fcgiconfig.js -add -section:"PHP" ^
</para>
<para>
To determine which user account is used by IIS anonymous authentication, follow these steps:
<orderedlist spacing="compact">
<listitem>
<para>In the Windows Start Menu choose &quot;Run:&quot;, type &quot;inetmgr&quot; and click &quot;Ok&quot;;</para>
</listitem>
<listitem>
<para>Expand the list of web sites under the &quot;Web Sites&quot; node in the tree view, right-click on a web
<procedure>
<step>
<simpara>In the Windows Start Menu choose &quot;Run:&quot;, type &quot;inetmgr&quot; and click &quot;Ok&quot;;</simpara>
</step>
<step>
<simpara>Expand the list of web sites under the &quot;Web Sites&quot; node in the tree view, right-click on a web
site that is being used and select &quot;Properties&quot;;
</para>
</listitem>
<listitem>
<para>Click the &quot;Directory Security&quot; tab;</para>
</listitem>
<listitem>
<para>Take note of a &quot;User name:&quot; field in the &quot;Authentication Methods&quot; dialog</para>
</listitem>
</orderedlist>
</simpara>
</step>
<step>
<simpara>Click the &quot;Directory Security&quot; tab;</simpara>
</step>
<step>
<simpara>Take note of a &quot;User name:&quot; field in the &quot;Authentication Methods&quot; dialog</simpara>
</step>
</procedure>
<mediaobject>
<imageobject>
<imagedata fileref="en/install/windows/figures/iis6anonauth.png" width="654" depth="461" />
@ -129,20 +129,20 @@ icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M)
The IIS default documents are used for HTTP requests that do not specify a document name. With PHP applications,
<filename>index.php</filename> usually acts as a default document. To add <filename>index.php</filename> to the list of
IIS default documents, follow these steps:
<orderedlist spacing="compact">
<listitem>
<para>In the Windows Start Menu choose &quot;Run:&quot;, type &quot;inetmgr&quot; and click &quot;Ok&quot;;</para>
</listitem>
<listitem>
<para>Right-click on the &quot;Web Sites&quot; node in the tree view and select &quot;Properties&quot;;</para>
</listitem>
<listitem>
<para>Click the &quot;Documents&quot; tab;</para>
</listitem>
<listitem>
<para>Click the &quot;Add...&quot; button and enter &quot;index.php&quot; for the &quot;Default content page:&quot;.</para>
</listitem>
</orderedlist>
<procedure>
<step>
<simpara>In the Windows Start Menu choose &quot;Run:&quot;, type &quot;inetmgr&quot; and click &quot;Ok&quot;;</simpara>
</step>
<step>
<simpara>Right-click on the &quot;Web Sites&quot; node in the tree view and select &quot;Properties&quot;;</simpara>
</step>
<step>
<simpara>Click the &quot;Documents&quot; tab;</simpara>
</step>
<step>
<simpara>Click the &quot;Add...&quot; button and enter &quot;index.php&quot; for the &quot;Default content page:&quot;.</simpara>
</step>
</procedure>
<mediaobject>
<imageobject>
<imagedata fileref="en/install/windows/figures/iis6defaultdoc.png" width="659" depth="465" />

View file

@ -18,26 +18,26 @@
</para>
<para>
To enable FastCGI support on Windows Vista SP1 and Windows 7:
<orderedlist spacing="compact">
<listitem>
<para>
<procedure>
<step>
<simpara>
In the Windows Start Menu choose &quot;Run:&quot;, type &quot;optionalfeatures.exe&quot;
and click &quot;Ok&quot;;
</para>
</listitem>
<listitem>
<para>
</simpara>
</step>
<step>
<simpara>
In the &quot;Windows Features&quot; dialog expand &quot;Internet Information
Services&quot;, &quot;World Wide Web Services&quot;, &quot;Application Development
Features&quot; and then enable the &quot;CGI&quot; checkbox;
</para>
</listitem>
<listitem>
<para>
</simpara>
</step>
<step>
<simpara>
Click OK and wait until the installation is complete.
</para>
</listitem>
</orderedlist>
</simpara>
</step>
</procedure>
<mediaobject>
<imageobject>
<imagedata fileref="en/install/windows/figures/iis7vistacgi.png" />
@ -46,31 +46,31 @@
</para>
<para>
To enable FastCGI support on Windows Server 2008 and Windows Server 2008 R2:
<orderedlist spacing="compact">
<listitem>
<para>
<procedure>
<step>
<simpara>
In the Windows Start Menu choose &quot;Run:&quot;, type &quot;CompMgmtLauncher&quot;
and click &quot;Ok&quot;;
</para>
</listitem>
<listitem>
<para>
</simpara>
</step>
<step>
<simpara>
If the &quot;Web Server (IIS)&quot; role is not present under the &quot;Roles&quot;
node, then add it by clicking &quot;Add Roles&quot;;
</para>
</listitem>
<listitem>
<para>
</simpara>
</step>
<step>
<simpara>
If the &quot;Web Server (IIS)&quot; role is present, then click &quot;Add Role Services&quot;
and then enable the &quot;CGI&quot; checkbox under &quot;Application Development&quot; group;
</para>
</listitem>
<listitem>
<para>
</simpara>
</step>
<step>
<simpara>
Click &quot;Next&quot; and then &quot;Install&quot; and wait for the installation to complete.
</para>
</listitem>
</orderedlist>
</simpara>
</step>
</procedure>
<mediaobject>
<imageobject>
<imagedata fileref="en/install/windows/figures/iis7w2k8cgi.png" />
@ -112,14 +112,14 @@ cgi.force_redirect = 0
<title>Using IIS Manager user interface to create a handler mapping for PHP</title>
<para>
Follow these steps to create an IIS handler mapping for PHP in IIS Manager user interface:
<orderedlist spacing="compact">
<listitem>
<para>In the Windows Start Menu choose &quot;Run:&quot;, type &quot;inetmgr&quot; and click &quot;Ok&quot;;</para>
</listitem>
<listitem>
<para>In the IIS Manager user interface select the server node in the &quot;Connections&quot; tree view;</para>
</listitem>
<listitem>
<procedure>
<step>
<simpara>In the Windows Start Menu choose &quot;Run:&quot;, type &quot;inetmgr&quot; and click &quot;Ok&quot;;</simpara>
</step>
<step>
<simpara>In the IIS Manager user interface select the server node in the &quot;Connections&quot; tree view;</simpara>
</step>
<step>
<para>
In the &quot;Features View&quot; page open the &quot;Handler Mappings&quot; feature;
<mediaobject>
@ -128,11 +128,11 @@ cgi.force_redirect = 0
</imageobject>
</mediaobject>
</para>
</listitem>
<listitem>
<para>In the &quot;Actions&quot; pane click &quot;Add Module Mapping...&quot;;</para>
</listitem>
<listitem>
</step>
<step>
<simpara>In the &quot;Actions&quot; pane click &quot;Add Module Mapping...&quot;;</simpara>
</step>
<step>
<para>
In the &quot;Add Module Mapping&quot; dialog enter the following:
<itemizedlist spacing="compact">
@ -150,17 +150,17 @@ cgi.force_redirect = 0
</listitem>
</itemizedlist>
</para>
</listitem>
<listitem>
<para>
</step>
<step>
<simpara>
Click &quot;Request Restrictions&quot; button and then configure the mapping to invoke handler
only if request is mapped to a file or a folder;
</para>
</listitem>
<listitem>
<para>Click OK on all the dialogs to save the configuration.</para>
</listitem>
</orderedlist>
</simpara>
</step>
<step>
<simpara>Click OK on all the dialogs to save the configuration.</simpara>
</step>
</procedure>
<mediaobject>
<imageobject>
<imagedata fileref="en/install/windows/figures/iis7handlermap.png" />
@ -178,7 +178,8 @@ cgi.force_redirect = 0
<title>Creating IIS FastCGI process pool</title>
<programlisting>
<![CDATA[
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI /+[fullPath='c:\PHP\php-cgi.exe']
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI ^
/+[fullPath='c:\PHP\php-cgi.exe']
]]>
</programlisting>
</example>
@ -190,8 +191,9 @@ cgi.force_redirect = 0
<title>Creating handler mapping for PHP requests</title>
<programlisting>
<![CDATA[
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',
path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='c:\PHP\php-cgi.exe',resourceType='Either']
%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers ^
/+[name='PHP_via_FastCGI', path='*.php',verb='*',modules='FastCgiModule',^
scriptProcessor='c:\PHP\php-cgi.exe',resourceType='Either']
]]>
</programlisting>
</example>
@ -235,7 +237,9 @@ path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='c:\PHP\php-cgi.ex
<title>Determining the account used as IIS anonymous identity</title>
<programlisting>
<![CDATA[
%windir%\system32\inetsrv\appcmd.exe list config "Default Web Site" /section:anonymousAuthentication
%windir%\system32\inetsrv\appcmd.exe list config "Default Web Site" ^
/section:anonymousAuthentication
<system.webServer>
<security>
<authentication>
@ -278,8 +282,9 @@ icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M)
<title>Set <filename>index.php</filename> as a default document in IIS</title>
<programlisting>
<![CDATA[
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/defaultDocument
/+"files.[value='index.php']" /commit:apphost
%windir%\system32\inetsrv\appcmd.exe set config ^
-section:system.webServer/defaultDocument /+"files.[value='index.php']" ^
/commit:apphost
]]>
</programlisting>
</example>
@ -299,10 +304,12 @@ icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M)
<title>Configuring FastCGI and PHP recycling</title>
<programlisting>
<![CDATA[
%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi
%windir%\system32\inetsrv\appcmd set config ^
-section:system.webServer/fastCgi ^
/[fullPath='c:\php\php-cgi.exe'].instanceMaxRequests:10000
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi
%windir%\system32\inetsrv\appcmd.exe set config ^
-section:system.webServer/fastCgi ^
/+"[fullPath='C:\{php_folder}\php-cgi.exe'].environmentVariables.[name='PHP_FCGI_MAX_REQUESTS',value='10000']"
]]>
</programlisting>
@ -321,10 +328,10 @@ icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M)
<title>Configuring FastCGI and PHP recycling</title>
<programlisting>
<![CDATA[
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi ^
/[fullPath='C:\php\php-cgi.exe',arguments=''].activityTimeout:"90" /commit:apphost
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi ^
/[fullPath='C:\php\php-cgi.exe',arguments=''].requestTimeout:"90" /commit:apphost
]]>
</programlisting>
@ -345,8 +352,8 @@ icacls C:\inetpub\wwwroot\upload /grant IUSR:(OI)(CI)(M)
<title>Changing the location of <filename>php.ini</filename> file</title>
<programlisting>
<![CDATA[
appcmd.exe set config -section:system.webServer/fastCgi
/+"[fullPath='C:\php\php.exe',arguments=''].environmentVariables.[name='PHPRC',value='C:\Some\Directory\']"
appcmd.exe set config -section:system.webServer/fastCgi ^
/+"[fullPath='C:\php\php.exe',arguments=''].environmentVariables.[name='PHPRC',value='C:\Some\Directory\']" ^
/commit:apphost
]]>
</programlisting>