[php][ssl]SSL operation failed with code 1 解决方法 |
[php][ssl]SSL operation failed with code 1 解决方法 |
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]]));
|
|
|
Lo-Fi Version | Time is now: 2024-11-1 10:36 |