:第240行的C:\xampp\htdocs\wordpress\wp-includes\class-wp-http-curl.php中的最大执行时间超过60秒

我正在尝试以WordPress主题导入4.5 MB WXR(XML文件)。增加max_execution_time的大小, max_input_time memory_limit = 1 meg后, 我仍然遇到相同的错误。


#1


导航到你的wordpress目录中的以下文件:wp-includes / deprecated.php, (不推荐使用)wp_get_http()函数中的以下行:

@set_time_limit(60);只需添加” //”将这一行注释掉


#2


你可以尝试更改upload_max_filesize = 64M


#3


在wp-includes文件夹中找到此文件并添加在最上面。

set_time_limit (0); 

它将解决你的问题。

来源:

https://www.srcmini02.com/66608.html

微信公众号
手机浏览(小程序)

Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(): Failed to enable crypto in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57

Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_37057.jpg): failed to open stream: operation failed in /mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line 57
0
分享到:
没有账号? 忘记密码?