IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> [php][ssl]SSL operation failed with code 1 解决方法
猫猫草
post 2017-09-18 15:39:54, Mon
Post #1


猫猫猫
***

Group: Power Cat
Posts: 626
Joined: 2006-12-8
Member No.: 2



代码
file_get_contents($url)
改成
代码
file_get_contents($url, false, stream_context_create(["ssl" => ["verify_peer"=>false]]));
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 2024-12-25 02:05