Welcome! Log In Create A New Profile

Advanced

RE: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

Reinis Rozitis
April 22, 2017 02:12PM
> My question is what should the /var/run/php/php7.0-fpm.sock have as
> permission?

It should have rw (read/write) access for whatever user/group nginx is running under (by default nobody).

Depending on which service (nginx or php-fpm) is running under correct user either change the nginx configuration/user to match the sock file ownership ( http://nginx.org/en/docs/ngx_core_module.html#user ) or check your php-fpm.conf for:

listen = in your case should be /var/run/php/php7.0-fpm.sock
and adjust accordingly:

listen.mode = 0660
listen.owner = ...

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

purvez April 22, 2017 10:14AM

Re: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

Ian Hobson April 22, 2017 11:56AM

Re: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

purvez April 22, 2017 02:10PM

RE: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

Reinis Rozitis April 22, 2017 02:12PM

Re: RE: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

purvez April 24, 2017 05:14AM

Re: RE: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

purvez April 24, 2017 05:29AM

RE: RE: Upgrade to Ubuntu16.04 LTS from 14.04 LTS killed my php

Reinis Rozitis April 24, 2017 05:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 292
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready