wordpress woodstock主题导入demo xml文件 execution time out
1.已設置php.ini?max_execution_time = 240
導入顯示設置60
2.wp-config.php 添加?set_time_limit(600); 無效
3. .htaccess 添加?php_value max_execution_time 300 無效;
以上兩步未驗證
4.可能是插件中設置時間問題, wp-content\themes\woodstock-child添加
add_filter( 'http_request_timeout', 'mytheme_bump_request_timeout', 100 );
function mytheme_bump_request_timeout(){
return 300; //Change this to your desired timeout value in ms
}
無效
5.搜索*time_limit ,在wp-includes\comment.php 修改@ set_time_limit( 60 ); 為@ set_time_limit( 160 ); 無效,恢復設置。
在wp-includes\deprecated.php 修改@ set_time_limit( 60 ); 為@ set_time_limit( 160 ); 有效。
?
轉載于:https://www.cnblogs.com/eastegg/p/5573427.html
總結
以上是生活随笔為你收集整理的wordpress woodstock主题导入demo xml文件 execution time out的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 士官转业到当地公安局有警号吗
- 下一篇: App 即时通讯 SDK