一个新手问题
在有brew下,下完php56以及composer后输入sudo composer create-project laravel/laravel laravel5 --prefer-dist命令得到如下错误:
之前一直都没用过terminal大家指导下我咯````
Lucas-MacBook-Air:Documents lucas$ sudo composer create-project laravel/laravel laravel5 --prefer-dist
Password:
Installing laravel/laravel (v5.0.22)
- Installing laravel/laravel (v5.0.22)
Loading from cache
Created project in laravel5
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 laravel/framework v5.0.16 -> satisfiable by laravel/framework[v5.0.16].
- laravel/framework v5.0.16 requires ext-mcrypt * -> the requested PHP extension mcrypt is missing from your system.
之前一直都没用过terminal大家指导下我咯````
2 个回复
skjun286 - 对WEB和服务器感兴趣的宅男
赞同来自:
the requested PHP extension mcrypt is missing from your system.
你需要安装一下php-mcrypt
缓途
赞同来自: