Welcome! Log In Create A New Profile

Advanced

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

April 22, 2017 10:14AM
I had a fully functioning ubuntu 14.04 serving up via nginx a passenger/ror site with 'some' php.

The passenger/ror bit works fine after the upgrade however any attempt at accessing my php files gives a 404 Not Found error:

The error.log for nginx shows the following:

=================================

2017/04/22 11:16:22 [crit] 16531#0: *1 connect() to unix:/var/run/php/php7.0-fpm.sock failed (13: Permission denied) while connecting to upstream, client: 212.159.100.115, server: resys.gourmindia.com, request: "GET /phpinfo.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "resys.gourmindia.com"

==================

My question is what should the /var/run/php/php7.0-fpm.sock have as permission?

ALL help gratefully received with thanks.

Purvez
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