php和nginx的配置
server{ root html; listen 80; server_name a.com; index index.php index.html ; location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } }
时间: 2024-09-30 11:42:27