Laravel 5.5 项目安装报错

错误一、
[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_openssl扩展



错误二、
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扩展




其他问题欢迎交流。
thanks~

猜你喜欢

转载自blog.csdn.net/xianhenyuan/article/details/82222917