V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
weifan
V2EX  ›  PHP

萌新问下 502 Bad Gateway 问题

  •  
  •   weifan · Mar 23, 2021 · 2137 views
    This topic created in 1863 days ago, the information mentioned may be changed or developed.

    image.png

    image.png

    nginx 配置按网上方法改了都不行😂求大佬帮忙看看 image.png

    俩 php 文件没改 您有一份文件待查收!即刻点击链接获取文件: https://cowtransfer.com/s/345f5245514d4c 或进入 cowtransfer.com 获取,在首页输入取件码:691033 ( 24 小时内有效)

    2 replies    2021-03-23 14:52:06 +08:00
    xiaochong0302
        1
    xiaochong0302  
       Mar 23, 2021   ❤️ 1
    查找 fpm 的配置文件,关注一下 listen 部分的配置

    ```
    ; The address on which to accept FastCGI requests.
    ; Valid syntaxes are:
    ; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
    ; a specific port;
    ; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
    ; a specific port;
    ; 'port' - to listen on a TCP socket to all addresses
    ; (IPv6 and IPv4-mapped) on a specific port;
    ; '/path/to/unix/socket' - to listen on a unix socket.
    ; Note: This value is mandatory.
    ;listen = /run/php/php7.3-fpm.sock
    listen = 127.0.0.1:9000

    ```
    weifan
        2
    weifan  
    OP
       Mar 23, 2021
    @xiaochong0302 #1 感谢,之前没找到这个,仔细找了一下,是把另一个配置文件给包含进去。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1494 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 16:51 · PVG 00:51 · LAX 09:51 · JFK 12:51
    ♥ Do have faith in what you're doing.