Sometimes, we need to debug PHP. Hence, we need to enable display_errors or disable them for security reasons. You can do this using the CloudLinux Selector to enable or disable PHP’s display_errors in DirectAdmin. CloudLinux is available on our web hosting plans.
1. First log-in to your DirectAdmin account.
2. Then in the Extra Features section, click on the Select PHP version icon or type Select PHP in the navigation filter box. The option will appear. Click on it.

3. After that click on the Options menu.

Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first.
4. Finally for enabling display_errors, tick mark it. For disabling it, uncheck it.

You have now learned how to enable or disable display_errors using Cloudlinux Selector in DirectAdmin. For related PHP configuration, learn how to change PHP version in DirectAdmin. For advanced server configurations that need more control, consider our VPS hosting or dedicated server plans.







