错误一、
[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.
错误二、
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for intervention/image 2.4.2 -> satisfiable by intervention/image[2.4.2].
- intervention/image 2.4.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- C:\ruanjian\phpstudy\PHPTutorial\php\php-7.2.1-nts\php.ini
You can also run php --ini
inside terminal to see which files are used by PHP in CLI mode.
解决方案:开启php_fileinfo扩展