Sometimes we need to debug PHP. Therefore, we need to enable or disable display_errors for security reasons. You can do this with the CloudLinux Selector to enable or disable PHP's display_errors in DirectAdmin.
- Log in to your DirectAdmin account.
- In the Additional Features section, click Select PHP version or type Select PHP in the navigation filter box. The option appears. Click on it.
- Click on the Options menu.
Note: If the Options page displays an error related to the native PHP version, change it to a non-native version first.
- To allow_url_fopen To enable it, check it. Uncheck it to disable it.