目標:laravelをインストールしたい
問題点:laravelをインストールしようとすると、要求が拒否される
[vagrant@localhost laravel_lessons]$ php composer.phar create-project --prefer-dist laravel/laravel myblog Installing laravel/laravel (v5.7.0) - Installing laravel/laravel (v5.7.0): Loading from cache Created project in myblog > @php -r "file_exists('.env') || copy('.env.example', '.env');" Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - laravel/framework v5.7.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.7.4 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.7.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.7.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.7.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework v5.7.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - laravel/framework 5.7.x-dev requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system. - Installation request for laravel/framework 5.7.* -> satisfiable by laravel/framework[5.7.x-dev, v5.7.0, v5.7.1, v5.7.2, v5.7.3, v5.7.4, v5.7.5]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php.ini - /etc/php.d/20-bz2.ini - /etc/php.d/20-calendar.ini - /etc/php.d/20-ctype.ini - /etc/php.d/20-curl.ini - /etc/php.d/20-exif.ini - /etc/php.d/20-fileinfo.ini - /etc/php.d/20-ftp.ini - /etc/php.d/20-gettext.ini - /etc/php.d/20-iconv.ini - /etc/php.d/20-json.ini - /etc/php.d/20-phar.ini - /etc/php.d/20-sockets.ini - /etc/php.d/20-tokenizer.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
回答2件
あなたの回答
tips
プレビュー