Search Our Database

How to Show PHP Errors on Your Website in DirectAdmin (Enhanced Skin)

Last updated on |
by

Introduction

PHP error display shows runtime errors, warnings, and notices directly in the browser, which is essential for development and troubleshooting. Enabling error visibility helps developers identify code issues, debug applications, and diagnose problems that may be causing website malfunctions. DirectAdmin’s PHP Settings interface provides a straightforward method for configuring error display behavior through custom PHP overrides. This guide explains how to enable error display using the PHP Settings section in DirectAdmin, enabling visible error reporting for effective application development and debugging.

Prerequisites

  • Access to DirectAdmin control panel with the necessary permissions.

 

Step-by-step Guide

Step 1: Access DirectAdmin

Log in to your DirectAdmin control panel.

 

Step 2: Access PHP Settings

Go to the Your Account section and click on Domain Setup. Then, select the domain/subdomain you wish to modify PHP settings for by clicking on the domain/subdomain name.

At the PHP Access row, click Php Settings…. You should be able to see a list of your current PHP configuration.

 

Step 3: Enable Error Display

Scroll down to the Add Override section. On the display_errors row, select On. Then, click Save on the right.

 

Step 4: Verify the changes

You may confirm the new override settings in the updated Domain php.ini overrides table. PHP errors will now be shown directly in the browser of your website.

 

Conclusion

Enabling PHP error display through DirectAdmin’s PHP Settings interface is a simple process that makes runtime errors visible directly in the browser. Configuring the display_errors setting to “On” facilitates troubleshooting and development by providing immediate visibility into code issues and application errors.

Should you have any inquiries about the guidelines, please feel free to open a ticket through your portal account or contact us at support@ipserverone.com. We’ll be happy to assist you further.