by Calvin Bu.
This work for me.
in PHP.INI
max_execution_time = 600
In IIS 7.5, double click on FastCGI Setting icon, edit the php-cgi.exe and change the "Activity Timeout" to 600.