Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cyber Security Cards › Revision Cards

LEMP on Ubuntu

LEMP on Ubuntu LEMP on Ubuntu = Linux + Nginx + MySQL + PHP-FPM. Nginx talks to PHP through a socket file in /run/php/. The socket name has the PHP version, like php8.3-fpm.sock . An old name copied from the internet gives 502 Bad Gateway . Check the real name with ls /run/php/ and put that exact na

LEMP on Ubuntu LEMP on Ubuntu = Linux + Nginx + MySQL + PHP-FPM. Nginx talks to PHP through a socket file in /run/php/. The socket name has the PHP version, like php8.3-fpm.sock . An old name copied from the internet gives 502 Bad Gateway . Check the real name with ls /run/php/ and put that exact na
LEMP on Ubuntu · Download PNG
Read card text

What this card says

What it is

LEMP on Ubuntu = Linux + Nginx + MySQL + PHP-FPM.

Nginx talks to PHP through a socket file in /run/php/.

Common mistake

The socket name has the PHP version, like php8.3-fpm.sock. An old name copied from the internet gives 502 Bad Gateway.

Fix

Check the real name with ls /run/php/ and put that exact name in the config.

Learn more in the lesson: 9.6 LEMP on Ubuntu

See all Ravi Sir's Cyber Security Cards