# Viewing the PHP error log in Joomla

> View PHP warnings and errors from inside the Joomla admin panel by installing and enabling the Errorlog plugin.

Source: https://helpcenter.ruachost.com/apps/joomla/viewing-php-error-log-in-joomla/

When troubleshooting Joomla, it is often necessary to view the **PHP error log**. This log records warnings, notices, and errors that occur during execution. On **ruachost.com**, you can use the **Errorlog plugin** to access these logs directly from the Joomla administrator interface.

## Why View PHP Error Logs?

- Identify causes of blank pages or failed components.
- Debug extensions and templates.
- Report errors to technical support faster.
- Improve site stability by resolving recurring issues.

## Steps to View PHP Error Logs in Joomla

### Step 1: Install the Errorlog Plugin

1. Log in to your Joomla site with an **administrator account**.
2. On the top menu bar, click **Extensions → Manage → Install**.
3. Select the **Install from Web** tab.
4. Search for **Errorlog**.
5. Click **Install** to add the plugin.

   - If installation fails, download the plugin manually and upload it via the **Upload Package File** tab.

### Step 2: Enable the Errorlog Plugin

1. On the top menu bar, click **Extensions → Plugins**.
2. Locate the **System – Errorlog** plugin.
3. Change the status to **Enabled**.
4. Save changes.

### Step 3: Access Error Logs

- Once enabled, the plugin displays the last **200 lines** of errors from the PHP error log file (`error_log`).
- The plugin scans two paths:

  - Joomla root directory
  - `/administrator` directory
- Errors are shown in the **Logs tab** within Joomla admin.

## Important Notes

- Always back up your site before installing new plugins.
- The Errorlog plugin is for **debugging and tracing errors**, not for long‑term log storage.
- If logs are empty, ensure PHP error logging is enabled on your hosting account.
- For persistent issues, [Contact Us](https://dashboard.ruachost.com/submitticket.php?step=2&deptid=2) with the error details
