PHP相关错误

laravel new blog

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

fix: composer config -g — disable-tls true

configure: error: Package requirements (oniguruma) were not met:

No package ‘oniguruma’ found