質問するログイン新規登録

質問編集履歴

2

2020/06/10 08:52

投稿

panp
panp

スコア12

title CHANGED
File without changes
body CHANGED
@@ -32,6 +32,55 @@
32
32
  </IfModule>
33
33
  ```
34
34
 
35
+ ### Laravel new プロジェクト時のエラー
36
+ Problem 1
37
+ - Installation request for tijsverkoyen/css-to-inline-styles 2.2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2].
38
+ - tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
39
+ Problem 2
40
+ - Installation request for phar-io/manifest 1.0.3 -> satisfiable by phar-io/manifest[1.0.3].
41
+ - phar-io/manifest 1.0.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
42
+ Problem 3
43
+ - Installation request for phpunit/php-code-coverage 7.0.10 -> satisfiable by phpunit/php-code-coverage[7.0.10].
44
+ - phpunit/php-code-coverage 7.0.10 requires ext-dom * -> the requested PHP extension dom is missing from your system.
45
+ Problem 4
46
+ - Installation request for phpunit/phpunit 8.5.5 -> satisfiable by phpunit/phpunit[8.5.5].
47
+ - phpunit/phpunit 8.5.5 requires ext-dom * -> the requested PHP extension dom is missing from your system.
48
+ Problem 5
49
+ - Installation request for theseer/tokenizer 1.1.3 -> satisfiable by theseer/tokenizer[1.1.3].
50
+ - theseer/tokenizer 1.1.3 requires ext-dom * -> the requested PHP extension dom is missing from your system.
51
+ Problem 6
52
+ - tijsverkoyen/css-to-inline-styles 2.2.2 requires ext-dom * -> the requested PHP extension dom is missing from your system.
53
+ - laravel/framework v7.14.1 requires tijsverkoyen/css-to-inline-styles ^2.2.2 -> satisfiable by tijsverkoyen/css-to-inline-styles[2.2.2].
54
+ - Installation request for laravel/framework v7.14.1 -> satisfiable by laravel/framework[v7.14.1].
55
+
56
+ To enable extensions, verify that they are enabled in your .ini files:
57
+ - /etc/php.ini
58
+ - /etc/php.d/20-bz2.ini
59
+ - /etc/php.d/20-calendar.ini
60
+ - /etc/php.d/20-ctype.ini
61
+ - /etc/php.d/20-curl.ini
62
+ - /etc/php.d/20-exif.ini
63
+ - /etc/php.d/20-fileinfo.ini
64
+ - /etc/php.d/20-ftp.ini
65
+ - /etc/php.d/20-gd.ini
66
+ - /etc/php.d/20-gettext.ini
67
+ - /etc/php.d/20-iconv.ini
68
+ - /etc/php.d/20-json.ini
69
+ - /etc/php.d/20-mbstring.ini
70
+ - /etc/php.d/20-mysqlnd.ini
71
+ - /etc/php.d/20-pdo.ini
72
+ - /etc/php.d/20-phar.ini
73
+ - /etc/php.d/20-sockets.ini
74
+ - /etc/php.d/20-sodium.ini
75
+ - /etc/php.d/20-sqlite3.ini
76
+ - /etc/php.d/20-tokenizer.ini
77
+ - /etc/php.d/30-mysqli.ini
78
+ - /etc/php.d/30-pdo_mysql.ini
79
+ - /etc/php.d/30-pdo_sqlite.ini
80
+ - /etc/php.d/40-zip.ini
81
+ You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
82
+
83
+
35
84
  ### 補足情報(FW/ツールのバージョンなど)
36
85
 
37
86
  ここにより詳細な情報を記載してください。

1

2020/06/10 08:52

投稿

panp
panp

スコア12

title CHANGED
File without changes
body CHANGED
@@ -1,6 +1,7 @@
1
1
  ### 前提・実現したいこと
2
2
  cd /var/www/htmlにlaravelのプロジェクトを作成し、laravelの初期画面を表示したい。
3
3
  現在、http://ipアドレス/プロジェクト名/public/を検索してもHTTPエラー500がでている。
4
+ http://ipアドレス/プロジェクト名で検索すると、index of プロジェクト名が表示され、ディレクトリ構成がみれる。
4
5
  apache,phpはインストール済みです。
5
6
  cd /var/www/html下に適当に作った、index.phpなどはブラウザから表示できる。
6
7