> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to monitor your error logs (cPanel)

## To check your error log in Apache, please follow the steps below:

1. Login to your Cpanel.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/1_cpanel_error_log.png)

2. Under Metrics choose **Errors**.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/2_cpanel_error_log.png)

3. Under the next window you will be able to see the last 300 error logs for your account (if any).

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/3_cpanel_error_log.jpg)

### To check your application error log, please follow the steps below:

1. Login to your Cpanel.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/1_cpanel_error_log.png)

2. Click on the **File Manager**.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/4_cpanel_error_log.png)

3. Choose the **error\\\_log** under the website and click **View**.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/5_cpanel_error_log.png)

#### To enable diplay\\\_errors in your PHP, please follow the steps below:

1. In the Cpanel inferface, please click on **Select PHP version**.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/1_select_php.png)

2. Click **Switch to PHP Options**.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/2_select_php.png)

3. Choose **display\\\_errors** option and select **On** from the drop-down menu.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/3_select_php.png)

4. Click **Apply** and your PHP errors/warnings will be displayed on your website.

![](https://tutorials.my-virtual-panel.com/cpanel_error_log/4_select_php.png)
