iis and php max execution time error
FastCGI has a limit for a request timeout in %systemroot%\system32\inetsrv\fcgiext.ini:
; RequestTimeout=n
; - Specifies the maximum allowed time, in seconds, for a request to this
; application. If a FastCGI process takes longer than this amount of time
; on a single request, it will be terminated. If not specified, the default
; value is 90 seconds.
See if this value is set, or needs to be increased.
Related videos on Youtube
EsiX
Updated on September 17, 2022Comments
-
EsiX over 1 year
First of all I'm running a VPS with Windows 2003 Server with IIS 6.0 and Plesk
These are the settings from php.ini max_execution_time = 300 ; Maximum execution time of each script, in seconds
The returned value is ok echo ini_get('max_execution_time'); // 300
But when I'm trying to use the keygenerator it stops executing after 30 seconds and shows Fatal error: Maximum execution time of 30 seconds exceeded in ... on line 475
The generator works just fine on a shared hosting but it doesn't work at all on my vps...
I even tried using set_time_limit(0);
Still the same.. I have FastCGI installed and the VPS is a QuadCore Xenon (with 512mb ram) so It really can't be a issue of performance
-
crb almost 15 yearsThe limit in the IIS console tends to refer to ASP pages - things it processes itself, internally, rather than passing to an ISAPI filter.
-
nl-x about 11 yearsIn IIS manager (7.0), you can double click FastCGI, and then double click PHP-CGI.EXE to exit this value. After that, restart the server from IIS manager
-
nl-x about 11 yearsBTW Also check the Advanced settings of the Application Pool under which the Applications are running.