Update /etc/nginx/sites-enabled/default with php-fpm 7.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nginx |
Invalid
|
Undecided
|
Unassigned | ||
nginx (Ubuntu) |
Fix Released
|
Low
|
Thomas Ward | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Won't Fix
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Undecided
|
Unassigned | ||
Disco |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
After install Nginx creates a file called /etc/nginx/
A line inside is commented for use in PHP-FPM (7.0):
#location ~ \.php$ {
# include snippets/
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/var/
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
#}
The php-fpm line should read:
# fastcgi_pass unix:/var/
as Ubuntu 18.04 uses PHP 7.2 not Debians PHP 7.0
A simple problem but a confusion I've noticed come up more than once.
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Installed: 1.14.0-0ubuntu1.2
Candidate: 1.14.0-0ubuntu1.2
Version table:
*** 1.14.0-0ubuntu1.2 500
500 http://
500 http://
100 /var/lib/
1.
500 http://
Changed in nginx (Ubuntu): | |
milestone: | none → ubuntu-19.10 |
Changed in nginx (Ubuntu): | |
importance: | Undecided → Low |
Changed in nginx (Ubuntu): | |
assignee: | nobody → Thomas Ward (teward) |
Changed in nginx (Ubuntu): | |
status: | Triaged → Fix Committed |
The attachment "Patch file" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]