{"id":1475,"date":"2024-12-02T07:10:26","date_gmt":"2024-12-02T01:40:26","guid":{"rendered":"https:\/\/lookouthost.com\/blog\/?p=1475"},"modified":"2025-06-29T10:19:42","modified_gmt":"2025-06-29T04:49:42","slug":"enable-users-to-change-disable-functions-settings-in-directadmin","status":"publish","type":"post","link":"https:\/\/lookouthost.com\/blog\/enable-users-to-change-disable-functions-settings-in-directadmin\/","title":{"rendered":"Enable users to change disable_functions settings in DirectAdmin"},"content":{"rendered":"<p>You can enable disable_functions settings in the Cloudlinux&#8217;s PHP selector by modifying the following file.<\/p><p>1. Try adding the following lines in the\u00a0<code>\/etc\/cl.selector\/php.conf<\/code>:<\/p><pre class=\"wp-block-code\"><code>Directive = disable_functions\nType  = value\nComment  = This directive allows you to disable certain functions for security reasons. It takes on a comma-delimited list of function names. disable_functions is not affected by Safe Mode.<\/code><\/pre><p>2. Then run:<\/p><pre class=\"wp-block-code\"><code>cagefsctl --force-update<\/code><\/pre><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"586\" src=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2024\/12\/image-1024x586.png\" alt=\"disable_functions settings in DirectAdmin\" class=\"wp-image-1476\" srcset=\"https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2024\/12\/image-1024x586.png 1024w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2024\/12\/image-300x172.png 300w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2024\/12\/image-768x439.png 768w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2024\/12\/image-600x343.png 600w, https:\/\/lookouthost.com\/blog\/wp-content\/uploads\/2024\/12\/image.png 1404w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><p><\/p><p>And you know what&#8217;s the best part? This won&#8217;t be a security issue for the server. The following is the official response from Cloudlinux Support<\/p><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>In this case, this feature will be available to other users on your server. However, the ability to disable features is not critical and will not affect the security of your server. In addition, disabling features will work on a per-user basis, not globally.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>You can enable disable_functions settings in the Cloudlinux&#8217;s PHP selector by modifying the following file. 1. Try adding the following lines in the\u00a0\/etc\/cl.selector\/php.conf: 2. Then run: And you know what&#8217;s the best part? This won&#8217;t be a security issue for the server. The following is the official response from Cloudlinux Support In this case, this feature will be available to other users on your server. However, the ability to disable features is not critical and will not affect the security of your server. In addition, disabling features will work on a per-user basis, not globally.<\/p>\n","protected":false},"author":1,"featured_media":1476,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-directadmin"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1475","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/comments?post=1475"}],"version-history":[{"count":3,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1475\/revisions"}],"predecessor-version":[{"id":1485,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/posts\/1475\/revisions\/1485"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media\/1476"}],"wp:attachment":[{"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/media?parent=1475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/categories?post=1475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lookouthost.com\/blog\/wp-json\/wp\/v2\/tags?post=1475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}