第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會有你想問的

Ubuntu下nginx與php配置

Ubuntu下nginx與php配置

鑫強(qiáng) 2016-01-17 16:09:50
An error occurred.Sorry, the page you are looking for is currently unavailable.Please try again later.If you are the system administrator of this resource then you should check the error log for details.Faithfully yours, nginx.在網(wǎng)頁上面的報(bào)錯(cuò)不太清楚原因是什么
查看完整描述

4 回答

?
mooc用戶18273

TA貢獻(xiàn)50條經(jīng)驗(yàn) 獲得超30個(gè)贊

啟動php-fpm方法錯(cuò)誤,不用start,直接php-fpm

netstat -lntup |grep php-fpm 看啟動沒有

查看完整回答
反對 回復(fù) 2016-03-17
?
鑫強(qiáng)

TA貢獻(xiàn)25條經(jīng)驗(yàn) 獲得超12個(gè)贊

2016/01/24 18:05:22 [emerg] 10789#0: directive "location" has no opening "{" in /usr/local/nginx/conf/nginx.conf:65

2016/01/24 18:06:51 [error] 10818#0: *1 open() "/usr/local/nginx/html/favicon.ico" failed (2: No such file or directory), client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer: "http://localhost/"

2016/01/24 18:06:55 [error] 10818#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:40:03 [error] 10818#0: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:40:03 [error] 10818#0: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:40:04 [error] 10818#0: *6 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:30 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:48 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:48 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:49 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:49 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:49 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:49 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:49 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:42:53 [error] 10818#0: *12 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

2016/01/24 18:56:28 [error] 10818#0: *22 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET /one.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "localhost"

這是nginx 的錯(cuò)誤文件



這是php-fpm的啟動后的提示

root@g98051815-X201E:/usr/local/php/sbin# sudo ./php-fpm start

Usage: php-fpm [-n] [-e] [-h] [-i] [-m] [-v] [-t] [-p <prefix>] [-g <pid>] [-c <file>] [-d foo[=bar]] [-y <file>] [-D] [-F [-O]]

? -c <path>|<file> Look for php.ini file in this directory

? -n ? ? ? ? ? ? ? No php.ini file will be used

? -d foo[=bar] ? ? Define INI entry foo with value 'bar'

? -e ? ? ? ? ? ? ? Generate extended information for debugger/profiler

? -h ? ? ? ? ? ? ? This help

? -i ? ? ? ? ? ? ? PHP information

? -m ? ? ? ? ? ? ? Show compiled in modules

? -v ? ? ? ? ? ? ? Version number

? -p, --prefix <dir>

? ? ? ? ? ? ? ? ? ?Specify alternative prefix path to FastCGI process manager (default: /usr/local/php).

? -g, --pid <file>

? ? ? ? ? ? ? ? ? ?Specify the PID file location.

? -y, --fpm-config <file>

? ? ? ? ? ? ? ? ? ?Specify alternative path to FastCGI process manager config file.

? -t, --test ? ? ? Test FPM configuration and exit

? -D, --daemonize ?force to run in background, and ignore daemonize option from config file

? -F, --nodaemonize

? ? ? ? ? ? ? ? ? ?force to stay in foreground, and ignore daemonize option from config file

? -O, --force-stderr

? ? ? ? ? ? ? ? ? ?force output to stderr in nodaemonize even if stderr is not a TTY

? -R, --allow-to-run-as-root

? ? ? ? ? ? ? ? ? ?Allow pool to run as root (disabled by default)


這是不是表示php-fpm啟動沒有成功?

查看完整回答
反對 回復(fù) 2016-01-24
?
wuzzxx

TA貢獻(xiàn)6條經(jīng)驗(yàn) 獲得超0個(gè)贊

把你現(xiàn)在的配置貼出來,同時(shí)看看錯(cuò)誤日志。根據(jù)錯(cuò)誤找到解決方法。如果你網(wǎng)站用到FastCGI 可能是因?yàn)?FastCGI沒運(yùn)行的原因。

查看完整回答
反對 回復(fù) 2016-01-19
?
柒朩

TA貢獻(xiàn)4條經(jīng)驗(yàn) 獲得超0個(gè)贊

如果你是系統(tǒng)管理員,那么你應(yīng)該檢查錯(cuò)誤日志的詳細(xì)信息!

查看完整回答
反對 回復(fù) 2016-01-18
  • 4 回答
  • 0 關(guān)注
  • 4677 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號