当前位置:网站首页>file_ get_ Two solutions to content accessing SSL errors
file_ get_ Two solutions to content accessing SSL errors
2022-04-23 06:52:00 【Collect and study by yourself】
From blog Park https://www.cnblogs.com/devcjq/articles/9250800.html
The first one is , It's also the most common , Reference resources :https://jingyan.baidu.com/article/72ee561a54af56e16038df60.html
open php.ini file ,extension=php_openssl.dll Remove the semicolon from the front ,allow_url_include = off Change it to allow_url_include = On, Then restart the service .
The second kind , Relatively rare in China , I also found it by chance on foreign websites , Reference resources :https://stackoverflow.com/questions/26148701/file-get-contents-ssl-operation-failed-with-code-1-and-more
The code in this article is like this :
1 2 3 4 5 6 7 8 9 10 11 |
|
The key code is this line : "ssl"=>array
My computer uses phpStudy,win7 System , A combination of the two methods , Pass the local test , There is no fake death on the web page .
版权声明
本文为[Collect and study by yourself]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230555552288.html
边栏推荐
猜你喜欢
随机推荐
获取当前一周的时间范围
Method of MySQL password expiration
js查找字符串中出现了三次的字符
New formdata() when importing files
EF CORE在ASP.NET CORE项目中基于数据库优先模式生成实体模型
若依如何input改成文本
常用网站汇总
Navicat 连接 oracle library is not loaded的解决方法
条形码与二维码的生成
ASP.NET CORE 配置选项(上篇)
offset和client獲取dom元素比特置信息
Router对象、Route对象、声明式导航、编程式导航
低代码开发平台整理
使用jsonwebtoken生成访问密钥
最近编程中遇到的一些问题2021/9/8
window环境下使用小皮面板安装redis
PHP 无限极分类和树形
浏览器中堆栈内存的底层处理
Devexpress Gridview 添加全选列
sql中的 IF 条件语句的用法