回答編集履歴
1
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
/etc/nginx/conf.d/default.confを設定する必要があります。
|
2
2
|
|
3
3
|
|
4
4
|
|
@@ -8,23 +8,21 @@
|
|
8
8
|
|
9
9
|
|
10
10
|
|
11
|
-
```lang-<ここに言語を入力>
|
12
|
-
|
13
11
|
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
|
14
12
|
|
15
13
|
#
|
16
14
|
|
17
15
|
location ~ \.php$ {
|
18
16
|
|
19
|
-
|
17
|
+
root /usr/share/nginx/html;
|
20
18
|
|
21
|
-
|
19
|
+
fastcgi_pass 127.0.0.1:9000;
|
22
20
|
|
23
|
-
|
21
|
+
fastcgi_index index.php;
|
24
22
|
|
25
|
-
|
23
|
+
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
26
24
|
|
27
|
-
|
25
|
+
include fastcgi_params;
|
28
26
|
|
29
27
|
}
|
30
28
|
|
@@ -34,10 +32,4 @@
|
|
34
32
|
|
35
33
|
systemct1 enable php-fpm
|
36
34
|
|
37
|
-
```
|
38
|
-
|
39
35
|
とやってみてください。
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|