Nginx Php7.2 update

Thomas Ward teward at thomas-ward.net
Mon Jun 24 16:16:51 UTC 2019


I don't think NGINX upstream provides this example you're referring to...


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).


Thomas


[1]: https://bugs.launchpad.net/ubuntu/+source/nginx/+bug/1831748




On 6/24/19 12:01 PM, Osman Kuzucu wrote:
> Hello everyone,
>
> 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
>
> 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. 
>
> 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.
>
> 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. 
>
> Osman Kuzucu
>
> _______________________________________________
> nginx-devel mailing list
> nginx-devel at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20190624/680d6c6e/attachment.html>


More information about the nginx-devel mailing list