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

nginx+PHP配置

2025/5/18 22:27:35发布13次查看
sudo apt-get install lighttpd
spawn-fcgi -a 127.0.0.1 -p 9000 -c 5 -u www-data -g www-data -f /usr/bin/php-cgi
location ~ .*\.(php|php5)?${    #fastcgi_pass unix:/tmp/php-cgi.sock;
    fastcgi_pass 127.0.0.1:9000;
    fastcgi_index index.php;
    fastcgi_param script_filename    $document_root$fastcgi_script_name;  添加此行即可
    #include fcgi.conf;
}
该用户其它信息

VIP推荐

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