services/nginx/conf.d/localhost.conf 这个文件中 location ~ [^/]\.php(/|$) { fastcgi_pass **php82:9000;** include fastcgi-php.conf; include fastcgi_params; php82:9000;,写死了php82,如果一开始启动时候不是选择默认的php82,而是其他的版本,那nginx就会启动错误
services/nginx/conf.d/localhost.conf
这个文件中
location ~ [^/].php(/|$) {
fastcgi_pass php82:9000;
include fastcgi-php.conf;
include fastcgi_params;
php82:9000;,写死了php82,如果一开始启动时候不是选择默认的php82,而是其他的版本,那nginx就会启动错误