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
Best Answer
FastCGI has a limit for a request timeout in %systemroot%\system32\inetsrv\fcgiext.ini:
See if this value is set, or needs to be increased.