Consiglio piuttosto di andare a modificare nel PHP.INI max_execution_time.