Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我遇到了 CURL 的问题。它可能与 SSL 有关。
我在本地和服务器上都有这个问题。在两个源文件中添加了以下代码:
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
我在当地得到了回应。但不在服务器中。为什么?