composer 問題 [Composer\Exception\NoSslException] The openssl extension is required

 [Composer\Exception\NoSslException]
  The openssl extension is required for SSL/TLS protection but is not available. If you can not enable the openssl ex
  tension, you can disable this error, at your own risk, by setting the 'disable-tls' option to true.

打開php/php.ini

把大概901行前面的分號去掉

---------------------------------------下面是php_openssl.dll詳解,是一套用於SSL/TLS協議的加密工具---------------------------------------

https://blog.csdn.net/qq_33862644/article/details/79127629

 

=====================================================================================

更新到最新版的composer

composer selfupdate

全局安裝,在cmd命令行輸入即可

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章