note 118534 added to install.windows.iis7
| From: | psch3 at gmx dot net | Date: | Tue, 22 Dec 2015 09:25:53 +0000 |
| Subject: | note 118534 added to install.windows.iis7 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-204521@lists.php.net to get a copy of this message | ||
I want to share the solution to a problem I wasted a couple of hours on:
I have some scripts that run for several minutes, they calculate lots of things. I got an error 500.
The reason is not the PHP-time-limit, but the timeout of the IIS-FastCGI-setting. Unfortunately I
have the German version, I guess the setting translates to "activity timeout" and
"request timeout". Just increase the values.
And a 2nd problem: When one of those scripts was running, the server would refuse to process other
"quick" scrips at the same time. So normal users would have to wait MINUTES just because a
kind of admin-user is running the long script. There is another setting for FastCGI: max number of
instances (again, translated!). The setting was 0, which means that IIS decides automatically.
Obviously, that was a bad idea. I set it to 4 and now everything is fine.
I hope that helps someone. It may sound obvious, but coming from an old ISAPI-installation, those
problems where rather new to me.
----
Server IP: 72.52.91.14
Probable Submitter: 212.186.245.194
----
Manual Page -- http://php.net/manual/en/install.windows.iis7.php
Edit -- https://master.php.net/note/edit/118534
Del: integrated -- https://master.php.net/note/delete/118534/integrated
Del: useless -- https://master.php.net/note/delete/118534/useless
Del: bad code -- https://master.php.net/note/delete/118534/bad+code
Del: spam -- https://master.php.net/note/delete/118534/spam
Del: non-english -- https://master.php.net/note/delete/118534/non-english
Del: in docs -- https://master.php.net/note/delete/118534/in+docs
Del: other reasons-- https://master.php.net/note/delete/118534
Reject -- https://master.php.net/note/reject/118534
Search -- https://master.php.net/manage/user-notes.php