IIS Error: Unable to find <handler> scriptprocessor in <fastCGI> application configuration

Source: Internet
Author: User
Tags php framework

FastCGI<FastCgi>overviewcompatibilitysetuphow toconfigurationsample codeoverviewthe<FastCgi>element contains a collection of<Application>elements, each of which creates a FastCGI application pool definition. Internet Information Services (IIS) 7 includes the FastCGI component. This component gives your greater reliability and better performance and lets you run the PHP application framework and OTH ER Web application frameworks on IIS 7.The simplest FastCGI application pool definition requires that I include the full Path attribute in an<Application>element to define the binaries-to-use for the specific application framework. For the PHP framework, set the FullPath attribute to the directory and file name of the PHP binaries. Other attributes is optional and let you configure a number of other parameters. These include the maximum number of requests that a FastCGI worker process can process before it's recycled, the maximum Number of worker processes for a application pool, and the maximum amount of time a FastCGI request can take. Note:in order to process requests by using FastCGI, your must first map the path and the specific file name extensions to The FastCGI module and specify the target FastCGI process as the script processor. NEW in IIS 7.5IIS 7.5 added the following attributes to the<FastCgi>/<Application>element:the monitorchangesto attribute lets you specify a file to monitor for changes that might affect the behavior of a FastCGI application. For example, if your use of the PHP framework, you can configure IIS to monitor the PHP. INI file for changes by specifying the full path to the file in the Monitorchangesto attribute. The Stderrmode attribute specifies how IIS 7 would handle errors that is returned from a FastCGI application through the S Tderr Stream.  The Signalbeforeterminateseconds attribute lets you configure IIS to wait for a specified period of time after IIS signals A FastCGI application that it needs to shut down. This lets a FastCGI application clean up any settings before IIS terminates the process. Compatibilityversion Notesiis 8.5 the<FastCgi>element is not modified in IIS 8.5.IIS 8.0 the<FastCgi>element is not modified in IIS 8.0.IIS 7.5 The<Application>Element of the<FastCgi>collection is updated in IIS 7.5 with the Monitorchangesto, Stderrmode, and Signalbeforeterminateseconds attributes. IIS 7.0 the<FastCgi>element is introduced in IIS 7.0.IIS 6.0 n/asetupto with the FastCGI environment, you must first install the CGI R OLE service. The installation process registers the Common Gateway Interface (CGI) role service in both the<Globalmodules>and<Modules> Elements. Need to perform any and steps to install the FastCGI environment. Windows Server, OR Windows Server r2on the taskbar, click Server manager.in Server Manager, click the Manage menu , and then click Add Roles and features.in the Add Roles and Features Wizard, click Next. Select the installation type and click Next. Select the destination server and click Next.On the Server Roles page, expand Web Server (IIS), expand Web Server, expand Application development, and then select CGI. Click Next. On the Select Features page, click Next.On the Confirm Installation Selections page, click Install.on the Results page, cl Ick close.windows 8 OR WINDOWS 8.1On The Start screen, move the pointer all the the-the-the-lower left corner, right-click The Start button, and then click Control Panel.In Control Panel, click Programs and Features, and then click Turn Windows Features on or off. Expand Internet Information Services, Expand World Wide Web Services, Expand applicationDevelopment Features, and then select CGI. Click OK. Click Close.windows Server OR WINDOWS server r2on the taskbar, click Start, point to Administrative Tools, and T Hen Click Server manager.in the Server Manager hierarchy pane, expand Roles, and then click Web Server (IIS). In the Web Server (IIS) pane, scroll to the role Services sections, and then click Add Role Services.on the Select role Ser Vices page of the Add Role Services Wizard, select CGI, and then click Next. On the Confirm Installation Selections page, click Install.on the Results page, click Close.windows VISTA OR WINDOWS 7On t He taskbar, click Start, and then click the Control Panel.In control Panel, click Programs and Features, and then click Turn W indows Features on or off. Expand Internet Information Services, then select CGI, and then click OK. How Tonote for IIS 7.0 Users:some of the steps in this section could require that you install the Microsoft administration Pack for IIS 7.0, which includes a user interface for FastCGI settings. To install the Microsoft administration Pack for IIS 7.0, see the following URL:HTTP://WWW.IIS.NET/EXPAND/ADMINISTRATIONPA Ckhow to CREATE A GLOBAL FASTCGI HANDLER MAPPING for Phpnote:before The following procedure would work and you must has ALRE Ady installed binaries that would execute the file path or file name extension that you specify. This example uses a PHP implementation available from Www.php.net.Open Internet information Services (IIS) manager:if is using Windows Server or Windows Server r2:on the taskbar, click Server Manager, click Tools, and then click  Internet Information Services (IIS) manager.if you is using Windows 8 or Windows 8.1:hold down the Windows key, press the Letter X, and then click Control Panel.Click Administrative Tools, and then double-click Internet Information Services (I IS) Manager.if your is using Windows Server/Windows Server r2:on the taskbar, click Start, point to Administr Ative Tools, and then click IntErnet Information Services (IIS) manager.if you is using Windows Vista or Windows 7:on the taskbar, click Start, and then Click Control Panel.double-click Administrative Tools, and then double-click Internet Information Services (IIS) Manager. In the Connections pane, click the server name for which you want to configure FastCGI handler mappings. In the Home pane, double-click Handler Mappings. In the Actions pane, click Add Module Mapping ... Enter the following information:enter the file name extension in the Request path text box. For example, "*.php". Click Fastcgimodule in the Module drop-down list. Enter the path to the scripting engine in the executable box. For example, "C:\PHP\php-cgi.exe". Enter a unique name for the handler mapping in the Name box. For example, "php-fastcgi". Click Request Restrictions ... Select Invoke Handler only if request was mapped to. Click to select the File or Folder option. Click OK. Click OK. If you is prompted to create a FastCGI application in the ADD ModuLe Mapping dialog box, click Yes. Note:this would automatically create a FastCGI application for the handler mapping so you just created. If you choose No, you can manually create a FastCGI application later.

http://www.iis.net/configreference/system.webserver/fastcgi

IIS Error: Unable to find

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.