Maximum execution time of 30 seconds exceeded with fastcgi_read_timeout 2400 max_execution_time = 2400 and max_input_time = 2400

StackOverflow https://stackoverflow.com/questions/22791586

  •  25-06-2023
  •  | 
  •  

문제

I have:

 FatalErrorException: Error: Maximum execution time of 30 seconds exceeded    

My php settings are:

 fastcgi_read_timeout 2400;
 fastcgi_param  PHP_VALUE  "max_execution_time = 2400";
 fastcgi_param  PHP_VALUE  "max_input_time = 2400";
 fastcgi_param  PHP_VALUE  "memory_limit = 1024M";

I'm doing massive doctrine-mongodb and neo4j flush operations

Any Ideas?

도움이 되었습니까?

해결책

You are overwriting the PHP_VALUE every time, only setting the memory_limit. Try

fastcgi_param  PHP_VALUE  "max_execution_time = 2400
                           max_input_time = 2400
                           memory_limit = 1024M";
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top