file "/etc/nginx/sites-available/default" contains outdated configuration

Bug #1840192 reported by Deglans Dalpasso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nginx (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hi,

The file "/etc/nginx/sites-available/default" in package nginx-common 1.15.9-0ubuntu1 contains the following lines:

#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;
#}

But for ubuntu 19.04 the correct value should be:

#location ~ \.php$ {
# include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
# fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
#}

Please note the new "7.2" instead of the old "7.0".
In that manner, it is sufficient to uncomment the correct line to have a working system.

Thanks & Best Regards

Deglans Dalpasso

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.