8000 修改php版本,默认php82导致nginx启动错误 · Issue #618 · garylab/dnmp · GitHub
[go: up one dir, main page]

Skip to content

修改php版本,默认php82导致nginx启动错误 #618

Open

Description

@somego

services/nginx/conf.d/localhost.conf

这个文件中
location ~ [^/].php(/|$) {
fastcgi_pass php82:9000;
include fastcgi-php.conf;
include fastcgi_params;

php82:9000;,写死了php82,如果一开始启动时候不是选择默认的php82,而是其他的版本,那nginx就会启动错误

Activity

  1. jingmian commented on Jun 26, 2025

    @jingmian
    Collaborator

    这个地方需要自己手动调整,这样容易区别当前运行是哪个版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0