Linux, Nginx, MySQL, and PHP (LEMP)

From wikieduonline
Revision as of 07:07, 4 January 2025 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
systemctl status nginx mysql php7.2-fpm
systemctl restart nginx mysql php7.2-fpm
(no output)
cat /var/log/mysql/error.log | grep ERROR
cat /var/log/php7.2-fpm.log | egrep "WARNING|NOTICE|ERROR|server reached pm.max_children setting"
journalctl -r | egrep -i "error|critical|Killed process|segfault"


tail -f /var/log/php*-fpm.log 
tail -f /var/log/nginx/error.log
tail -f /var/log/mysql/error.log

See also[edit]

Advertising: