久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      centos系統(tǒng)下nginx無法解析php

      centos系統(tǒng)下nginx無法解析php

      問題:

      通過Nginx解析PHP報錯,提示File Not Found.

      解決思路:

      查看錯誤日志:

      [root@LNMP ~]# tail /usr/local/nginx/logs/error.log

      centos系統(tǒng)下nginx無法解析php

      (推薦教程:centos使用教程)

      解決方法如下:

      在Nginx配置文件中找到定義調(diào)用腳本文件的地方

      centos系統(tǒng)下nginx無法解析php

      將代碼:

      fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;

      修改成:

      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

      centos系統(tǒng)下nginx無法解析php

      最后重啟Nginx即可。

      相關(guān)視頻教程推薦:linux視頻教程

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號