can't configure PHP-FPM on Socket

Discussion in 'Installation/Configuration' started by bax, Apr 16, 2014.

  1. bax

    bax Member

    HI

    I try to "Use Socket for PHP-FPM (which seems to be set by default on 3.0.5.4rc2 ?).
    However, whenever I try to reach the domain I get a "Bad Gateway".

    Here's the log:

    Code:
    connect() to unix:/var/lib/php5-fpm/web3.sock failed (13: Permission denied) while connecting to upstream, client: 85.XX.XX.XX, server: XXXYYY.com, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web3.sock:", host: "www.XXXYYY.com"
    I didn't change anything on the permissions and they all look good to me…
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats a problem with nginx only. Thats fixed already in git in the 3.0.5.4 stable branch.
     
    Last edited: Apr 17, 2014
  3. bax

    bax Member

    But I'm using 3.0.5.4rc2 and the problem is still there…
     
  4. bax

    bax Member

    The vhost of nginx and the conf of PHP-FPM both look OK to me.
    What would I look for?
    What file would I change to fix this?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

  6. bax

    bax Member

Share This Page