Solved

change fastcgi.ini

Posted on 2011-09-17
2
796 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article discusses how to create an extensible mechanism for linked drop downs.
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 …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

861 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now