From 16547c55335cbaf917dd2112b30fd3cf67825e4b Mon Sep 17 00:00:00 2001 From: arhimede Date: Tue, 2 Jul 2024 18:31:35 +0300 Subject: [PATCH] add instructions to locate log error files --- docs/book/v1/faq.md | 19 +++++++++++++++++++ wsl/os/almalinux9/FAQ.md | 19 +++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/docs/book/v1/faq.md b/docs/book/v1/faq.md index 64666e8..f61ac9d 100644 --- a/docs/book/v1/faq.md +++ b/docs/book/v1/faq.md @@ -99,6 +99,25 @@ chmod -R 777 public/uploads chmod -R 777 log ``` +## Where are the error log files? + +From time to time, you are encountering various errors which are not displayed. Or you can get errors 500 in browser. + +In order to find the error messages, you need to read the error log files. + +### Apache log files + +```text +/var/log/httpd/error_log +``` + +### PHP-FPM log files + +```text +/var/log/php-fpm/error.log +/var/log/php-fpm/www-error.log +``` + ## How do I create command aliases? From either your terminal or file explorer, navigate to your home directory (`/home//`). diff --git a/wsl/os/almalinux9/FAQ.md b/wsl/os/almalinux9/FAQ.md index 3c93a32..d79c942 100644 --- a/wsl/os/almalinux9/FAQ.md +++ b/wsl/os/almalinux9/FAQ.md @@ -99,6 +99,25 @@ chmod -R 777 public/uploads chmod -R 777 log ``` +## Where are the error log files? + +From time to time, you are encountering various errors which are not displayed. Or you can get errors 500 in browser. + +In order to find the error messages, you need to read the error log files. + +### Apache log files + +```text +/var/log/httpd/error_log +``` + +### PHP-FPM log files + +```text +/var/log/php-fpm/error.log +/var/log/php-fpm/www-error.log +``` + ## How do I create command aliases? From either your terminal or file explorer, navigate to your home directory (`/home//`).