{"id":32517,"date":"2020-12-11T07:16:20","date_gmt":"2020-12-11T07:16:20","guid":{"rendered":"https:\/\/wickedrobot.dev\/support\/?p=32517"},"modified":"2025-10-08T06:15:02","modified_gmt":"2025-10-08T06:15:02","slug":"how-to-enable-or-disable-phps-display_errors-via-cloudlinux-selector-in-cpanel","status":"publish","type":"epkb_post_type_1","link":"https:\/\/wickedrobot.dev\/knowledge-base\/how-to-enable-or-disable-phps-display_errors-via-cloudlinux-selector-in-cpanel","title":{"rendered":"How to Enable or Disable PHP&#8217;s display_errors via CloudLinux Selector in cPanel"},"content":{"rendered":"<p><span style=\"font-size: Medium;\">Sometimes, we need to debug PHP. Hence, we need to enable <strong>display_errors<\/strong> or disable them for security reasons. You can do this using the CloudLinux Selector to enable or disable PHP&#8217;s display_errors in cPanel.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>1<\/strong>. Log in to your cPanel account.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>2<\/strong>. In the <strong>Software<\/strong> section, click on <strong>Select PHP Version<\/strong>.<br \/>\n<img decoding=\"async\" src=\"\/img\/cP-CL-Select-PHP-Version-icon.gif\" \/><\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>3<\/strong>. Click on the <strong>Options<\/strong> menu.<br \/>\n<img decoding=\"async\" src=\"\/img\/CL-options-menu.gif\" \/><\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>Note<\/strong>: If the <strong>Options<\/strong> page shows an error related to the native PHP version, change it to a non-native version first.<\/span><\/p>\n<p><span style=\"font-size: Medium;\"><strong>4<\/strong>. For enabling <strong>display_errors<\/strong>, tick mark it. For disabling it, uncheck it.<br \/>\n<img decoding=\"async\" src=\"\/img\/CL-enable-or-disable-error.gif\" \/><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#8217;s display_errors in cPanel. 1. Log in to your cPanel account. 2. In the Software section, click on Select PHP Version. 3. Click on the &#8230; <a title=\"How to Enable or Disable PHP&#8217;s display_errors via CloudLinux Selector in cPanel\" class=\"read-more\" href=\"https:\/\/wickedrobot.dev\/knowledge-base\/how-to-enable-or-disable-phps-display_errors-via-cloudlinux-selector-in-cpanel\" aria-label=\"Read more about How to Enable or Disable PHP&#8217;s display_errors via CloudLinux Selector in cPanel\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"epkb_post_type_1_category":[71],"epkb_post_type_1_tag":[],"class_list":["post-32517","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-cloudlinux-cpanel"],"_links":{"self":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1\/32517","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/comments?post=32517"}],"version-history":[{"count":0,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1\/32517\/revisions"}],"wp:attachment":[{"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/media?parent=32517"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1_category?post=32517"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/wickedrobot.dev\/jipumel\/wp\/v2\/epkb_post_type_1_tag?post=32517"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}