您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

nginx + php 的配置

2025/5/17 4:16:26发布38次查看
location ~ \.php$ { root /home/jsckdao/www; #这是你网站的根目录 fastcgi_pass 127.0.0.1:3344; #这里指定了fastcgi进程侦听的端口,nginx就是通过这里与php交互的 fastcgi_index index.php; fastcgi_param script_filename $document_root/$fastcgi_scrip
location ~ \.php$ {
root            /home/jsckdao/www;          #这是你网站的根目录
fastcgi_pass127.0.0.1:3344;            #这里指定了fastcgi进程侦听的端口,nginx就是通过这里与php交互的
fastcgi_index   index.php;            
fastcgi_param script_filename  $document_root/$fastcgi_script_name;            
include         fastcgi_params;        
}
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product