如何解决在安装yii2时出现的错误问题?
- 内容介绍
- 文章标签
- 相关推荐
本文共计302个文字,预计阅读时间需要2分钟。
相关专题:
在执行 composer安装yii之后 会出现这样的问题
composer create-project --prefer-dist yiisoft/yii2-app-basic basic - phpunit/phpunit 6.4.3 requires ext-dom * -> the requested PHP extension dom is missing from your system. - phpunit/phpunit 6.4.2 requires ext-dom * -> the requested PHP extension dom is missing from your system. - phpunit/phpunit 6.4.1 requires ext-dom * -> the requested PHP extension dom is missing from your system. - phpunit/phpunit 6.4.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
或者
这是由于直接安装php7没有安装完整配置出现的问题 执行
首先,你需要安装的扩展模块是:mbstring
安装laravel将依赖该扩展,如果你没有安装该扩展,那么通过composer安装laravel框架,你将无法正常生成laravel框架所依赖的vendor目录。vendor目录以及其下文件是laravel框架正常运行所需的。
第二个要安装的扩展模块是:xml扩展
通过composer安装laravel框架过程中将需要调用ext-dom,若xml扩展未安装,这也会影响我们安装laravel。
本文共计302个文字,预计阅读时间需要2分钟。
相关专题:
在执行 composer安装yii之后 会出现这样的问题
composer create-project --prefer-dist yiisoft/yii2-app-basic basic - phpunit/phpunit 6.4.3 requires ext-dom * -> the requested PHP extension dom is missing from your system. - phpunit/phpunit 6.4.2 requires ext-dom * -> the requested PHP extension dom is missing from your system. - phpunit/phpunit 6.4.1 requires ext-dom * -> the requested PHP extension dom is missing from your system. - phpunit/phpunit 6.4.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
或者
这是由于直接安装php7没有安装完整配置出现的问题 执行
首先,你需要安装的扩展模块是:mbstring
安装laravel将依赖该扩展,如果你没有安装该扩展,那么通过composer安装laravel框架,你将无法正常生成laravel框架所依赖的vendor目录。vendor目录以及其下文件是laravel框架正常运行所需的。
第二个要安装的扩展模块是:xml扩展
通过composer安装laravel框架过程中将需要调用ext-dom,若xml扩展未安装,这也会影响我们安装laravel。

