Solved

change fastcgi.ini

Posted on 2011-09-17
2
799 Views
Last Modified: 2013-12-20
Then the following changes to fcgiext.ini:
RequestTimeout=180
ActivityTimeout=180


want to use command line

I can not find the fcgiexe.ini file

I also do not have a fastcgi icon in iis7 manager


on my old windows server 2008, I did these commands (but fastcgi and php is in another directory now)



issue this command first:
cd C:\Windows\System32\inetsrv

appcmd set config /section:system.webServer/fastCGI /[fullPath='C:\SWsoft\Plesk\Additional\PleskPHP5\php-cgi.exe'].activityTimeout:300

appcmd set config /section:system.webServer/fastCGI /[fullPath='C:\SWsoft\Plesk\Additional\PleskPHP5\php-cgi.exe'].requestTimeout:300
 
 
 
0
Comment
Question by:rgb192
2 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 500 total points
ID: 36563631
Hi,

You can use APPCMD as you mentioned above. To see your current settings, you can do the following.

%windir%\system32\inetsrv\appcmd list config -section:system.webServer/fastCgi

You should see output similar to the following:

<system.webServer>
  <fastCgi>
    <application fullPath="C:\php\php-cgi.exe" activityTimeout="300" requestTimeout="600" instanceMaxRequest="10000">
      <environmentVariables>
               <environmentVariable name="PHP_FCGI_MAX_REQUESTS" value="10000" />
      </environmentVariables>
    </application>
  </fastCgi>
</system.webServer>

To add the activity timeout (assuming CGI location is C:\php\php-cgi.exe): -

%windir%\system32\inetsrv\appcmd set config -section:system.webServer/fastCgi /[fullPath='C:\php\php-cgi.exe'].activityTimeout:600

In your case, the fullPath='C:\php\php-cgi.exe' is where php-cgi.exe is located.

Cheers,
Hades666
0
 

Author Closing Comment

by:rgb192
ID: 36711089
thanks
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article discusses four methods for overlaying images in a container on a web page
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question