Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
FR: Add php7.0-fpm fast-cgi option to default nginx file. #1904
As more and more sites move towards using PHP 7.x over PHP 5.x, there should be a default configuration option within the supplied nginx.conf to PHP 7.0 to point to the .sock file. When the user uploads the default file and just changes the url option, they will be presented with a 502 Bad Gateway error and little other information.
It is only by digging into the logs that any indication of what is wrong can be worked out.
The only option is for PHP5's sock. While it might seem like the easiest option would be to change this from
Change the default nginx.conf file to have a reference to the new php7.0-fpm and location, but be commented out by default. When PHP5 is finally EOS'd, switch the commented default over.