cURL error 0: The cURL request was retried 3 times and did not succeed. The most likely reason for the failure is that cURL was unable to rewind the body of the request and subsequent retries resulted in the same error. Turn on the debug option to see what went wrong. See https://bugs.php.net/bug.php?id=47204 for more information. (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
报错原因
服务端无法创建临时文件
解决方法
step1:
修改php.ini
添加配置upload_tmp_dir = d:/temp
sys_temp_dir = "d:/tmp"
step2:D盘下创建temp和tmp文件
转自:
服务端无法创建临时文件导致报错_curl error 0: the curl request was retried 3 times-CSDN博客