Solved

change fastcgi.ini

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

705 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

18 Experts available now in Live!

Get 1:1 Help Now