質問編集履歴

2

追記

2018/11/01 18:25

投稿

rude_rockers
rude_rockers

スコア32

test CHANGED
File without changes
test CHANGED
@@ -299,3 +299,5 @@
299
299
 
300
300
 
301
301
  となります。
302
+
303
+ そもそも「/var/www/laravel」内に「vendor」がありません。

1

追記

2018/11/01 18:25

投稿

rude_rockers
rude_rockers

スコア32

test CHANGED
File without changes
test CHANGED
@@ -127,3 +127,175 @@
127
127
  「php --ini」がどうのこうのと言っているように思えますが、よくわかりません。
128
128
 
129
129
  アドバイスお願いします。
130
+
131
+
132
+
133
+ ちなみに強引にLaravelをインストールすると、
134
+
135
+ ```ここに言語を入力
136
+
137
+ # composer create-project laravel/laravel laravel --prefer-dist
138
+
139
+ ```
140
+
141
+ 下記のような文がでて一応Laravelのフォルダが出来上がります。
142
+
143
+
144
+
145
+ ```ここに言語を入力
146
+
147
+ Installing laravel/laravel (v5.7.0)
148
+
149
+ - Installing laravel/laravel (v5.7.0): Downloading (100%)
150
+
151
+ Created project in laravel
152
+
153
+ > @php -r "file_exists('.env') || copy('.env.example', '.env');"
154
+
155
+ Loading composer repositories with package information
156
+
157
+ Updating dependencies (including require-dev)
158
+
159
+ Your requirements could not be resolved to an installable set of packages.
160
+
161
+
162
+
163
+ Problem 1
164
+
165
+ - phpunit/phpunit 7.5.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
166
+
167
+ - phpunit/phpunit 7.4.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
168
+
169
+ - phpunit/phpunit 7.4.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
170
+
171
+ - phpunit/phpunit 7.4.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
172
+
173
+ - phpunit/phpunit 7.4.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
174
+
175
+ - phpunit/phpunit 7.4.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
176
+
177
+ - phpunit/phpunit 7.3.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
178
+
179
+ - phpunit/phpunit 7.3.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.
180
+
181
+ - phpunit/phpunit 7.3.4 requires ext-dom * -> the requested PHP extension dom is missing from your system.
182
+
183
+ - phpunit/phpunit 7.3.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
184
+
185
+ - phpunit/phpunit 7.3.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
186
+
187
+ - phpunit/phpunit 7.3.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
188
+
189
+ - phpunit/phpunit 7.3.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
190
+
191
+ - phpunit/phpunit 7.2.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
192
+
193
+ - phpunit/phpunit 7.2.7 requires ext-dom * -> the requested PHP extension dom is missing from your system.
194
+
195
+ - phpunit/phpunit 7.2.6 requires ext-dom * -> the requested PHP extension dom is missing from your system.
196
+
197
+ - phpunit/phpunit 7.2.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.
198
+
199
+ - phpunit/phpunit 7.2.4 requires ext-dom * -> the requested PHP extension dom is missing from your system.
200
+
201
+ - phpunit/phpunit 7.2.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
202
+
203
+ - phpunit/phpunit 7.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
204
+
205
+ - phpunit/phpunit 7.2.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
206
+
207
+ - phpunit/phpunit 7.2.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
208
+
209
+ - phpunit/phpunit 7.1.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
210
+
211
+ - phpunit/phpunit 7.1.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.
212
+
213
+ - phpunit/phpunit 7.1.4 requires ext-dom * -> the requested PHP extension dom is missing from your system.
214
+
215
+ - phpunit/phpunit 7.1.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
216
+
217
+ - phpunit/phpunit 7.1.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
218
+
219
+ - phpunit/phpunit 7.1.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
220
+
221
+ - phpunit/phpunit 7.1.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
222
+
223
+ - phpunit/phpunit 7.0.x-dev requires ext-dom * -> the requested PHP extension dom is missing from your system.
224
+
225
+ - phpunit/phpunit 7.0.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
226
+
227
+ - phpunit/phpunit 7.0.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
228
+
229
+ - phpunit/phpunit 7.0.1 requires ext-dom * -> the requested PHP extension dom is missing from your system.
230
+
231
+ - phpunit/phpunit 7.0.0 requires ext-dom * -> the requested PHP extension dom is missing from your system.
232
+
233
+ - Installation request for phpunit/phpunit ^7.0 -> satisfiable by phpunit/phpunit[7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.x-dev, 7.1.0, 7.1.1, 7.1.2, 7.1.3, 7.1.4, 7.1.5, 7.1.x-dev, 7.2.0, 7.2.1, 7.2.2, 7.2.3, 7.2.4, 7.2.5, 7.2.6, 7.2.7, 7.2.x-dev, 7.3.0, 7.3.1, 7.3.2, 7.3.3, 7.3.4, 7.3.5, 7.3.x-dev, 7.4.0, 7.4.1, 7.4.2, 7.4.3, 7.4.x-dev, 7.5.x-dev].
234
+
235
+
236
+
237
+ To enable extensions, verify that they are enabled in your .ini files:
238
+
239
+ - /etc/php.ini
240
+
241
+ - /etc/php.d/20-bz2.ini
242
+
243
+ - /etc/php.d/20-calendar.ini
244
+
245
+ - /etc/php.d/20-ctype.ini
246
+
247
+ - /etc/php.d/20-curl.ini
248
+
249
+ - /etc/php.d/20-exif.ini
250
+
251
+ - /etc/php.d/20-fileinfo.ini
252
+
253
+ - /etc/php.d/20-ftp.ini
254
+
255
+ - /etc/php.d/20-gd.ini
256
+
257
+ - /etc/php.d/20-gettext.ini
258
+
259
+ - /etc/php.d/20-iconv.ini
260
+
261
+ - /etc/php.d/20-json.ini
262
+
263
+ - /etc/php.d/20-mbstring.ini
264
+
265
+ - /etc/php.d/20-mysqlnd.ini
266
+
267
+ - /etc/php.d/20-pdo.ini
268
+
269
+ - /etc/php.d/20-phar.ini
270
+
271
+ - /etc/php.d/20-sockets.ini
272
+
273
+ - /etc/php.d/20-sqlite3.ini
274
+
275
+ - /etc/php.d/20-tokenizer.ini
276
+
277
+ - /etc/php.d/30-mysqli.ini
278
+
279
+ - /etc/php.d/30-pdo_mysql.ini
280
+
281
+ - /etc/php.d/30-pdo_sqlite.ini
282
+
283
+ You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
284
+
285
+ ```
286
+
287
+ フォルダ内に入って、「php artisan --version」とすると、
288
+
289
+
290
+
291
+ ```ここに言語を入力
292
+
293
+ PHP Warning: require(/var/www/laravel/vendor/autoload.php): failed to open stream: No such file or directory in /var/www/laravel/artisan on line 18
294
+
295
+ PHP Fatal error: require(): Failed opening required '/var/www/laravel/vendor/autoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/laravel/artisan on line 18
296
+
297
+ ```
298
+
299
+
300
+
301
+ となります。