set max_execution_time and memory_limit