質問編集履歴

3

修正

2018/09/22 14:37

投稿

mango
mango

スコア33

test CHANGED
File without changes
test CHANGED
@@ -38,4 +38,94 @@
38
38
 
39
39
 
40
40
 
41
+ 【追記】
42
+
43
+ myblogを空にして再びlaravelをインストールしようと思ったら、違うエラーコードが出てきた。
44
+
45
+
46
+
47
+ ```
48
+
49
+ [vagrant@localhost laravel_lessons]$ php composer.phar create-project --prefer-dist laravel/laravel myblog
50
+
51
+ Installing laravel/laravel (v5.7.0)
52
+
53
+ Failed to download laravel/laravel from dist: The zip extension and unzip command are both missing, skipping.
54
+
55
+ Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
56
+
57
+ Now trying to download from source
58
+
59
+ - Installing laravel/laravel (v5.7.0): Cloning b0651d2467
60
+
61
+ Created project in myblog
62
+
63
+ > @php -r "file_exists('.env') || copy('.env.example', '.env');"
64
+
65
+ Loading composer repositories with package information
66
+
67
+ Updating dependencies (including require-dev)
68
+
69
+ Your requirements could not be resolved to an installable set of packages.
70
+
71
+
72
+
73
+ Problem 1
74
+
75
+ - laravel/framework v5.7.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
76
+
77
+ - laravel/framework v5.7.4 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
78
+
79
+ - laravel/framework v5.7.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
80
+
81
+ - laravel/framework v5.7.2 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
82
+
83
+ - laravel/framework v5.7.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
84
+
85
+ - laravel/framework v5.7.0 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
86
+
87
+ - laravel/framework 5.7.x-dev requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
88
+
89
+ - 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].
90
+
91
+
92
+
93
+ To enable extensions, verify that they are enabled in your .ini files:
94
+
95
+ - /etc/php.ini
96
+
97
+ - /etc/php.d/20-bz2.ini
98
+
99
+ - /etc/php.d/20-calendar.ini
100
+
101
+ - /etc/php.d/20-ctype.ini
102
+
103
+ - /etc/php.d/20-curl.ini
104
+
105
+ - /etc/php.d/20-exif.ini
106
+
107
+ - /etc/php.d/20-fileinfo.ini
108
+
109
+ - /etc/php.d/20-ftp.ini
110
+
111
+ - /etc/php.d/20-gettext.ini
112
+
113
+ - /etc/php.d/20-iconv.ini
114
+
115
+ - /etc/php.d/20-json.ini
116
+
117
+ - /etc/php.d/20-phar.ini
118
+
119
+ - /etc/php.d/20-sockets.ini
120
+
121
+ - /etc/php.d/20-tokenizer.ini
122
+
123
+ You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
124
+
125
+
126
+
127
+ ```
128
+
129
+
130
+
41
131
  どうやったらLaravelをインストールできるか教えてください

2

文法の修正

2018/09/22 14:37

投稿

mango
mango

スコア33

test CHANGED
File without changes
test CHANGED
@@ -35,3 +35,7 @@
35
35
 
36
36
 
37
37
  ```
38
+
39
+
40
+
41
+ どうやったらLaravelをインストールできるか教えてください

1

誤字

2018/09/22 12:28

投稿

mango
mango

スコア33

test CHANGED
@@ -1 +1 @@
1
- 上手くLaravelをインストールできない
1
+ ComposerでLaravelをインストールできない
test CHANGED
File without changes