Solved

change fastcgi.ini

Posted on 2011-09-17
2
801 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

623 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