Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

change fastcgi.ini

Posted on 2011-09-17
2
Medium Priority
?
807 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
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…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

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