<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1254">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>I don't think NGINX upstream provides this example you're
referring to...</p>
<p><br>
</p>
<p>Have you tested the upstream version? (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><br>
</p>
<p>Thomas</p>
<p><br>
</p>
<p>[1]: <a
href="https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1831748">https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1831748</a></p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 6/24/19 12:01 PM, Osman Kuzucu
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR0701MB22371941A87908769FA855BEC4E00@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);">
<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="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
nginx-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.nginx.org/mailman/listinfo/nginx-devel">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a></pre>
</blockquote>
</body>
</html>