Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What to do about the running timeout of PHP under IIS+fastcgi

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces how to do the running timeout of PHP under IIS+fastcgi, which has a certain reference value. Interested friends can refer to it. I hope you will gain a lot after reading this article. Let's take a look at it.

Every time you upload a larger file on the page, you encounter the error of FastCgi: "The FastCGI process exceeded configured request timeout". After several experiments, you understand that you need to modify the configuration file "fcgiext.ini" of FastCgi, which is located in the directory "C:/WINDOWS/system32/inetsrv".

Add some parameters under the configuration content of the last php of "fcgiext.ini", as follows:

Quote

[Types]

Php=PHP

[PHP]

ExePath=C:/PHP/php-cgi.exe

InstanceMaxRequests=10000

EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000

RequestTimeout=500

ActivityTimeout=900

If you encounter a "FastCGI process exceeded configured activity timeout" error, it will be solved in the same way.

Thank you for reading this article carefully. I hope the article "what to do about the PHP timeout under IIS+fastcgi" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report