Поставил VDS на Ubuntu 18.04. Настраиваю связку Nginx + PHP-FPM + MySQL.
Выходит ошибка 502 Bad Gateway.
Сервис PHP-FPM не запускается, хотя устанавливал.
PHP 7.2.10-0ubuntu0.18.04.1 (cli) (built: Sep 13 2018 13:45:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.10-0ubuntu0.18.04.1, Copyright (c) 1999-2018, by Zend Technologies
PHP-FPM пишет установлен:
sudo apt-get install php-fpm
Reading package lists... Done
Building dependency tree
Reading state information... Done
php-fpm is already the newest version (1:7.2+60ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Пытаюсь запустить:
sudo service php-fpm start
Failed to start php-fpm.service: Unit php-fpm.service not found.