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.
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.
Visit our blog for more knowledgebase articles !
The post Enable or disable php’s display_errors via Cloudlinux selector in DirectAdmin appeared first on HostingB2B.