Fatal error: Maximum execution time of 30 seconds exceeded

后端 未结 16 791
逝去的感伤
逝去的感伤 2020-11-22 01:27

I am downloading a JSON file from an online source and and when it runs through the loop I am getting this error:

Fatal error: Maximum execution time

16条回答
  •  遇见更好的自我
    2020-11-22 01:43

    Edit php.ini

    Find this line:

    max_execution_time
    

    Change its value to 300:

    max_execution_time = 300
    

    300 means 5 minutes of execution time for the http request.

提交回复
热议问题