nginx虚拟主机解析php文件,window停nginx虚拟主机不能解析php
生活随笔
收集整理的這篇文章主要介紹了
nginx虚拟主机解析php文件,window停nginx虚拟主机不能解析php
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
window下nginx虛擬主機不能解析php
本地window7配置nginx 1.011虛擬主機不能解析php問題,導致:no input file specified
?
?
nginx.conf中http{}增加:
?
server {
listen 80;
server_name bbc060;
location / {
root E:\bbc060;
index index.html index.htm index.php;
autoindex on;
}
location ~ \.php$ {
#root D:\test;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME E:\bbc060$fastcgi_script_name;
include fastcgi_params;
}
}
?
相關文章
相關視頻
總結
以上是生活随笔為你收集整理的nginx虚拟主机解析php文件,window停nginx虚拟主机不能解析php的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 用IDEA debug按键功能
- 下一篇: php语言培训费用,PHP语言编程的优势