douju2599 2014-04-01 16:27
浏览 88
已采纳

fastcgi_read_timeout 2400 max_execution_time = 2400和max_input_time = 2400超过30秒的最大执行时间

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?

  • 写回答

1条回答 默认 最新

  • douwu8524 2014-04-10 23:02
    关注

    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";
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?