Home  >  Q&A  >  body text

如何取消thinkphp操作mysql的30秒时间限制?

Maximum execution time of 30 seconds exceeded,
如何避免thinkphp操作mysql 30秒限制

黄舟黄舟2743 days ago733

reply all(3)I'll reply

  • 高洛峰

    高洛峰2017-04-17 15:31:48

    1.30s is not a TP setting
    2.30s is not the upper limit of database time execution
    3. The default period from a PHP request to the end is 30S, and the memory limit is 128M php.ini can be changed Parameters~~

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 15:31:48

    Timeout set_time_limit(0)

    reply
    0
  • 黄舟

    黄舟2017-04-17 15:31:48

    Modify max_execution_time in php.ini

    reply
    0
  • Cancelreply