#usernobody; worker_processes1;#error_loglogs/error.log; #error_loglogs/error.lognotice; #error_loglogs/error.优艾设计网_设计百科loginfo;#pidlogs/nginx.pid; events { worker_connections1024; } http { include mime.types; default_typeapplication/octet-stream; sendfileon; keepalive_timeout65;server { listen 8089; server_name localhost;root D:workspace/hangjiayun; index index.html index.htm index.php;location / { try_files $uri $uri/ /index.php; }location ~ .php$ { try_files $uri =404; include fastcgi.conf; fastcgi_pass 127.0.0.1:9000; } }}
渡辺__聖人 优艾设计网_电脑技术 2022-09-11 12:40
应该是php文件没有解析,确保php-fpm正常启动的情况下,看下你的nginx配置是否正确fastcgi_pass 127.0.0.1:9000;
精彩评论