1. 程式人生 > >composer update 無法執行命令原因及解決方法

composer update 無法執行命令原因及解決方法

composer
php 版本7.0
描述:無法執行composer update
報錯: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.

問題原因 :opensll 未開起

解決方法:php.ini 中配置開啟opensll