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

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

nginx關(guān)于php的二級(jí)域名+子目錄問題

nginx關(guān)于php的二級(jí)域名+子目錄問題

手掌心 2019-04-21 20:21:25
具體環(huán)境為nginx+php,欲配置phpmyadmin?,F(xiàn)在的問題是訪問主機(jī)域名,html目錄下php可以正常運(yùn)行。但是訪問phpmyadmin.xxxxx.com域名,html/phpmyadmin下文件會(huì)通過瀏覽器下載。各種搜索改參數(shù)無果,求支援。具體nginx.conf參數(shù)如下:server{listen80;server_namelocalhost;roothtml;access_loglogs/host.access.logmain;location/{}#error_page404/404.html;#redirectservererrorpagestothestaticpage/50x.html#error_page500502503504/50x.html;location=/50x.html{roothtml;}location~\.php?${fastcgi_pass127.0.0.1:9000;fastcgi_indexindex.php;fastcgi_paramSCRIPT_FILENAME$document_root$fastcgi_script_name;includefastcgi_params;}location~/\.ht{denyall;}}includevhost/*.conf;vhosh/*.conf配置如下server{listen80;server_namephpmyadmin.xxxxx.com;roothtml/phpmyadmin;#charsetkoi8-r;access_loglogs/phpmyadmin.access.logmain;#error_loglog/phpmyadmin.error.logmain;location/{indexindex.htmlindex.htmindex.php;}}
查看完整描述

2 回答

?
慕桂英3389331

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

huandu已經(jīng)解答了
你沒有配置php解析部分,所謂nginx不知道你要通過什么方式去解析
話說你用的lnmp.org的安裝包,不太需要自己修改配置文件吧,頂多加個(gè)include*.conf用來解析urlwrite
                            
查看完整回答
反對(duì) 回復(fù) 2019-04-21
  • 2 回答
  • 0 關(guān)注
  • 302 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號(hào)

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