我决定尝试一下 Laravel,并且我一直在断断续续地进行安装,因为与 OOP PHP 相比,它是多么乏味。
尽管如此,我正在尝试在 cmd(.~/wamp/www/) 上执行 'composer create-project laravel/laravel --prefer-dist' 命令,它创建了 Laravel 文件夹,但给了我以下输出:
*Installing laravel/laravel (v5.1.4)
- Installing laravel/laravel (v5.1.4)
Loading from cache
Created project in C:\wamp\www\laravel
> php -r "copy('.env.example', '.env');"
Loading composer repositories with package information
Installing dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/framework v5.1.8 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.7 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.6 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.5 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.4 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.3 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.2 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.1 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- laravel/framework v5.1.0 requires ext-mbstring * -> the requested PHP exte
nsion mbstring is missing from your system.
- Installation request for laravel/framework 5.1.* -> satisfiable by laravel
/framework[v5.1.0, v5.1.1, v5.1.2, v5.1.3, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.
8].
C:\wamp\www>*
我正在使用Windows。
我尝试安装一个新的作曲家,我尝试复制一个 laravel 目录并将其手动放置在我的 /www 中。
我已确保 WAMP 根据我所读到的内容使用所有模块和扩展。
我已经编辑了 php.ini 文件并在必要时去掉了分号。
现在,经过一番谷歌搜索后,我迷失了方向。
有人可以帮我解决这个问题吗,我将不胜感激。
提前致谢!
下面是我的 PHP.ini 文件
所以我无法粘贴整个内容,但请在这里查看:
http://jpst.it/AAhW http://jpst.it/AAhW