wordpress安装主题时提示超时要怎么处理

互联网 19-7-18

wordpress安装主题时提示超时要怎么处理?

错误提示:

Downloading update from http://wordpress.org/××××××.zip. Download failed.: Operation timed out after 60000 milliseconds with 641464 bytes received Installation Failed. Downloading update from http://wordpress.org/××××××.zip.Download failed.: Operation timed out after 60000 milliseconds with 641464 bytes receivedInstallation Failed.

解释:

这段英文的意思是下载文件超时,由于你的主机网速比较慢,建议将这一时间调的长一些,建议设置成600秒(600000毫秒)应该会成功。

WordPress安装主题时提示超时的处理办法:

编辑:wp-admin/includes/file.php

查找:

$response = wp_remote_get($url, array(‘timeout’ => 300));

操作:将 300 改为 600或更大 。

更多WordPress技术文章,请访问WordPress教程栏目!

以上就是wordpress安装主题时提示超时要怎么处理的详细内容,更多内容请关注技术你好其它相关文章!

来源链接:
免责声明:
1.资讯内容不构成投资建议,投资者应独立决策并自行承担风险
2.本文版权归属原作所有,仅代表作者本人观点,不代表本站的观点或立场
标签: WordPress
上一篇:php获取远程图片并下载保存到本地的方法分析 下一篇:wordpress主题怎么安装

相关资讯