Maybe you can solve this by editing your php.ini file with the lines below
max_execution_time = 360 ; Maximum execution time of each script, in seconds
max_input_time = 120 ; Maximum amount of time each script may spend
memory_limit = 128M ; Maximum amount of memory a script may consume