<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<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>
</body>
</html>