Public bug reported:
After install Nginx creates a file called /etc/nginx/sites-
enabled/default which is a link to /etc/nginx/sites-available/default
A line inside is commented for use in PHP-FPM (7.0):
#location ~ \.php$ {
# include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
#}
The php-fpm line should read:
# fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
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://mirrors.digitalocean.com/ubuntu bionic-updates/main amd64
Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64
Packages
100 /var/lib/dpkg/status
1.14.0-0ubuntu1 500
500 http://mirrors.digitalocean.com/ubuntu bionic/main amd64 Packages
** Affects: nginx (Ubuntu)
Importance: Undecided
Status: New
** Tags: fpm nginx php ubuntu
** Patch added: "Patch file"
https://bugs.launchpad.net/bugs/1831748/+attachment/5268919/+files/default.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1831748
Title:
Update /etc/nginx/sites-enabled/default with php-fpm 7.2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1831748/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs