質問編集履歴
3
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -121,3 +121,33 @@
|
|
121
121
|
/var/log/nginx/error.log↓
|
122
122
|
|
123
123
|
> FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html' has been denied (se e security.limit_extensions)" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /h ello.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost:8001"
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
追記:/etc/php5/fpm/pool.d/www.conf
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
```PHP
|
134
|
+
|
135
|
+
user = www-data↲
|
136
|
+
|
137
|
+
group = www-data↲
|
138
|
+
|
139
|
+
listen = /var/run/php5-fpm.sock↲
|
140
|
+
|
141
|
+
pm = dynamic↲
|
142
|
+
|
143
|
+
pm.max_children = 5↲
|
144
|
+
|
145
|
+
pm.start_servers = 2↲
|
146
|
+
|
147
|
+
pm.min_spare_servers = 1↲
|
148
|
+
|
149
|
+
pm.max_spare_servers = 3↲
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
```
|
2
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -113,3 +113,11 @@
|
|
113
113
|
/etc/php5/fpm/php.ini↓
|
114
114
|
|
115
115
|
> gi.fix_pathinfo=0
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
/var/log/nginx/error.log↓
|
122
|
+
|
123
|
+
> FastCGI sent in stderr: "Access to the script '/usr/share/nginx/html' has been denied (se e security.limit_extensions)" while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /h ello.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "localhost:8001"
|
1
追記
test
CHANGED
File without changes
|
test
CHANGED
File without changes
|