Laravel 5.5 项目安装报错

傷城~ 2022-10-02 11:49 249阅读 0赞

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

发表评论

表情:
评论列表 (有 0 条评论,249人围观)

还没有评论,来说两句吧...

相关阅读

    相关 laravel groupBy

    做个记录,在项目在本地正常,然后部署到服务器上就报错了,按网上说的改掉了mysql的配置后还是不行 最后改了一下laravel配置文件就好了,记录一下 `config/da