文章詳情頁
如何取消thinkphp操作mysql的30秒時間限制?
瀏覽:201日期:2022-06-19 08:02:34
問題描述
Maximum execution time of 30 seconds exceeded,如何避免thinkphp操作mysql 30秒限制
問題解答
回答1:1.30s并不是TP的設(shè)置2.30s也不是數(shù)據(jù)庫時間執(zhí)行的上限3.默認的一個PHP請求到結(jié)束的周期為30S,還有內(nèi)存限制為128M php.ini可改參數(shù)~~
回答2:超時 set_time_limit(0)
回答3:修改php.ini里面的max_execution_time
上一條:mysql - sql subquery return more than 1 row下一條:mysql優(yōu)化 - mysql 創(chuàng)建了索引,但是查詢統(tǒng)計的時候沒有走索引
相關(guān)文章:
1. PHP類封裝的插入數(shù)據(jù),總是插入不成功,返回false;2. python2.7 - python 函數(shù)或者類 代碼的執(zhí)行順序3. javascript - requestAnimationFrame如何控制幀速?4. javascript - immutable配合react提升性能?5. android glide asbitmap 在baseadpter中的問題6. nginx - ngnix問題7. java - 關(guān)于aop在controller不起用的問題8. php - 微信開發(fā)驗證服務(wù)器有效性9. css - 寫頁面遇到個布局問題,求大佬們幫解答,在線等,急!~10. 這是什么情況???
排行榜

熱門標簽
網(wǎng)公網(wǎng)安備