svn: /phpdoc/en/trunk/install/windows/ manual.xml

From: Date: Tue, 07 Jun 2016 00:39:38 +0000
Subject: svn: /phpdoc/en/trunk/install/windows/ manual.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14172@lists.php.net to get a copy of this message
mattficken Tue, 07 Jun 2016 00:39:38 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339303 Log: included script to setup IIS and PHP Changed paths: U phpdoc/en/trunk/install/windows/manual.xml Modified: phpdoc/en/trunk/install/windows/manual.xml =================================================================== --- phpdoc/en/trunk/install/windows/manual.xml 2016-06-06 19:24:45 UTC (rev 339302) +++ phpdoc/en/trunk/install/windows/manual.xml 2016-06-07 00:39:38 UTC (rev 339303) @@ -15,7 +15,38 @@ On Windows Desktop, use Control Panel's Add/Remove Programs to add IIS. See: <link xlink:href="https://msdn.microsoft.com/en-us/library/ms181052%28v=vs.80%29.aspx?f=255&amp;MSPPError=-2147217396">https://msdn.microsoft.com/en-us/library/ms181052%28v=vs.80%29.aspx?f=255&amp;MSPPError=-2147217396</link> For desktop web apps and web-development, you can also use IIS/Express or PHP Desktop - + + <example> + <title>Command line to configure IIS and PHP</title> + <programlisting> +<![CDATA[ + + @echo off + + REM download .ZIP file of PHP build from http://windows.php.net/downloads/ + REM + REM path to directory you decompressed PHP .ZIP file into +set phpdir=c:\php +set phppath=php-5.6.19-nts-Win32-VC11-x86 + +REM Clear current PHP handlers +%windir%\system32\inetsrv\appcmd clear config /section:system.webServer/fastCGI +%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /-[name='PHP_via_FastCGI'] + +REM Set up the PHP handler +%windir%\system32\inetsrv\appcmd set config /section:system.webServer/fastCGI /+[fullPath='%phpdir%\%phppath%\php-cgi.exe'] +%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='%phpdir%\%phppath%\php-cgi.exe',resourceType='Unspecified'] +%windir%\system32\inetsrv\appcmd set config /section:system.webServer/handlers /accessPolicy:Read,Script + +REM Configure FastCGI Variables +%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='%phpdir%\%phppath%\php-cgi.exe'].instanceMaxRequests:10000 +%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='%phpdir%\%phppath%\php-cgi.exe'].environmentVariables.[name='PHP_FCGI_MAX_REQUESTS',value='10000']" +%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='%phpdir%\%phppath%\php-cgi.exe'].environmentVariables.[name='PHPRC',value='%phpdir%\%phppath%\php.ini']" + +]]> + </programlisting> + </example> + <link linkend="install.windows.legacy.iis7">How to manually configure IIS</link> </para> </listitem>

« previous php.doc.cvs (#14172) next »