tp5使用composer安装框架报错 openssl 方面的?
一、问题:
The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl extension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.
二、解决方法:
1.查看你的php版本命令:
php -v
2.打开相php对应 php.ini:
开启 extension=openssl
***注意 原来: ;extension=openssl 改成 extension=openssl