PHP|Unable to find the socket transport 'ssl' - did you forget to enable it when you configured
解决方案:
该错误表明PHP不支持openssl,解决方案:
windows下,在php.ini中打开opensll扩展,并将php目录下的libeay32.dll和ssleay32.dll两个库拷贝到system32下;
【PHP|Unable to find the socket transport 'ssl' - did you forget to enable it when you configured】linux下,重新编译php,编译时加上参数--enable-ssl(具体参看configure的help
推荐阅读
- thinkphp|thinkphp 3.2 如何调用第三方类库
- CGI,FastCGI,PHP-CGI与PHP-FPM
- PHP开发-Mac搭建ThinkPHP5.0
- 依赖注入模块
- thinkphp3.2下实现阿里云视频点播实例(客户端JavaScript上传)
- php异常处理
- 运行报错Cannot|运行报错Cannot find module '@babel/compat-data/corejs3-shipped-proposals’
- mac|mac php5.6+mongdb+Apache环境配置
- PHP简易规则引擎
- 文件解压缩及搜索文件find