<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1254">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Fun Fact: I'm the downstream NGINX package maintainer in Ubuntu
;)</p>
<p><br>
</p>
<p>THIS SAID, 'changing' the documentation at this point would have
to be bundled with a more important fix in Ubuntu to fix that.
"Example Documentation" changes alone aren't enough to get it
updated in an already-released release.</p>
<p><br>
</p>
<p>This said... the "default" example in that package isn't exactly
designed to be a "it will just work" all in one solution for PHP,
it's designed as **guidance** not as explicit "confirmed to
instantly work when you uncomment it" stuff. Part of that's just
because the packages don't move all at the same speed, and part of
that is because you really should be learning to handle your own
configurations independently from the defaults which can change or
get overwritten or any number of other things.</p>
<p><br>
</p>
<p>This said, discussing downstream packaging differences vs. NGINX
upstream here is not the discussion topic for nginx-devel. You
can refer to the bug I linked already if you wish to continue this
argument there.</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p>Thomas</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 6/24/19 4:08 PM, Osman Kuzucu wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR0701MB2237C7566A994497B0313C73C4E00@VI1PR0701MB2237.eurprd07.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1254">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hello,</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
As I said I am new to the Nginx dev world, and didn't even know
there was such website which I could keep track of the issues
& additions & removals. </div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
What you have shared there is the exact thing I was mentioning.
I honestly didn't tested the upstream version.</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
What I did was pretty simple, create a fresh Ubuntu 18.04 x64
droplet from the Digital Ocean. After initial SSH access, use
the command "sudo apt update", then "sudo apt upgrade" and
finally "sudo apt install nginx". That command order installed
the nginx with the default php7.0 setting and not with the
php7.2.</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>Gönderen:</b>
Thomas Ward <a class="moz-txt-link-rfc2396E" href="mailto:teward@thomas-ward.net"><teward@thomas-ward.net></a><br>
<b>Gönderildi:</b> 24 Haziran 2019 Pazartesi 19:26<br>
<b>Kime:</b> <a class="moz-txt-link-abbreviated" href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a>; <a class="moz-txt-link-abbreviated" href="mailto:bizbucaliyiz@hotmail.com">bizbucaliyiz@hotmail.com</a><br>
<b>Konu:</b> Re: Nginx Php7.2 update</font>
<div> </div>
</div>
<div style="background-color:#FFFFFF">
<p style="margin-top: 0px; margin-bottom: 0px;">Oops, I left
original poster off my reply... heh.</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">(Reattaching
them here for a reply-all)</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Thomas</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<div class="x_moz-cite-prefix">On 6/24/19 12:16 PM, Thomas
Ward wrote:<br>
</div>
<blockquote type="cite">
<p style="margin-top: 0px; margin-bottom: 0px;">I don't
think NGINX upstream provides this example you're
referring to...</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Have you
tested the upstream version and verified that this stanza
is present there? (I could have SWORN there was a bug on
this in Ubuntu [1], but it was NACK'd for
stable-release-updating because it's not severe enough to
warrant an SRU).</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">Thomas</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;">[1]: <a
href="https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1831748"
moz-do-not-send="true">
https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1831748</a></p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<p style="margin-top: 0px; margin-bottom: 0px;"><br>
</p>
<div class="x_moz-cite-prefix">On 6/24/19 12:01 PM, Osman
Kuzucu wrote:<br>
</div>
<blockquote type="cite">
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<span style="color:rgb(0,0,0);
font-family:Calibri,Helvetica,sans-serif;
font-size:12pt">Hello everyone,</span><br>
</div>
<div>
<div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
As I was configuring a new web server today, I have
realized that the latest nginx version (at least the
one that is distributed by the Digital Ocean) does
have outdated configuration line for the PHP 7.2</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
The configuration line specifies the fastcgi line as
"fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;"
which causes "502 Bad Gateway" errors, and if users
are not careful about the issue, they might have
hard time debugging it. </div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
I suggest we change the default installation
configuration to " fastcgi_pass
unix:/var/run/php/php7.2-fpm.sock;" so that if a
user installs Nginx and PHP7.2, they will
automaticly be able to run PHP files without any
problem.</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Please excuse me if this has been addressed before.
I tried to find a way to push a change but I
couldn't find a Github repo or something similar, so
I am sending this e-mail. </div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Osman Kuzucu</div>
</div>
</div>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
nginx-devel mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:nginx-devel@nginx.org" moz-do-not-send="true">nginx-devel@nginx.org</a>
<a class="x_moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" moz-do-not-send="true">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></pre>
</blockquote>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
nginx-devel mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:nginx-devel@nginx.org" moz-do-not-send="true">nginx-devel@nginx.org</a>
<a class="x_moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx-devel" moz-do-not-send="true">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></pre>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>