{"id":17153,"date":"2024-11-12T11:59:11","date_gmt":"2024-11-12T11:59:11","guid":{"rendered":"https:\/\/truehost.com\/support\/?post_type=docs&#038;p=17153"},"modified":"2024-11-12T11:59:55","modified_gmt":"2024-11-12T11:59:55","password":"","slug":"how-to-disable-enable-php_functions-on-directadmin","status":"publish","type":"docs","link":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/","title":{"rendered":"How to disable\/enable php_functions on DirectAdmin"},"content":{"rendered":"\n<p>If your web application isn\u2019t working properly due to specific PHP functions, you may need changes from the server admin or host. With root access to cPanel or DirectAdmin, you can manage these PHP functions yourself using this guid<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You first need to login into DirectAdmin control panel using one of the URLs below,&nbsp;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&nbsp;https:\/\/IP-address:2222&nbsp;or&nbsp;https:\/\/server-hostname:2222.<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"642\" height=\"398\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png\" alt=\"\" class=\"wp-image-16951\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png 642w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155-300x186.png 300w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Next will be to navigate to\u00a0<strong>Server Manager<\/strong>\u00a0\u2192\u00a0<strong>Custom HTTPD Configurations<\/strong>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"389\" height=\"273\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-261.png\" alt=\"\" class=\"wp-image-17155\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-261.png 389w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-261-300x211.png 300w\" sizes=\"auto, (max-width: 389px) 100vw, 389px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Select the domain then Click on <strong>php-fpm.conf.<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-style-zoooom\"><img loading=\"lazy\" decoding=\"async\" width=\"574\" height=\"217\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-262.png\" alt=\"\" class=\"wp-image-17156\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-262.png 574w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-262-300x113.png 300w\" sizes=\"auto, (max-width: 574px) 100vw, 574px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You will then go to <strong><em>5.x\/7.x\/8.x |CUSTOM 2|<\/em><\/strong>, where 5.x\/7.x\/8.x represents the PHP versions that you are using. <\/li>\n\n\n\n<li>You can then add the following line to specify the php cunctions that you want to disable. Replace &lt;function name> with the actual names of the functions to disable. <\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>php_admin_value&#91;disable_functions] = &lt;function name>, &lt;function name>, &lt;function name> <\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"580\" height=\"229\" src=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-263.png\" alt=\"\" class=\"wp-image-17157\" srcset=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-263.png 580w, https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-263-300x118.png 300w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can enable the PHP functions by removing the desired function from Disable Functions list.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>If your web application isn\u2019t working properly due to specific PHP functions, you may need changes from the server admin or host. With root access to cPanel or DirectAdmin, you can manage these PHP functions yourself using this guid<\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_eb_attr":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_category":[1820,1824,1879,2128],"doc_tag":[],"class_list":["post-17153","docs","type-docs","status-publish","hentry","doc_category-cloud-servers-in-kenya","doc_category-dedicated-servers","doc_category-servers","doc_category-vps-servers"],"year_month":"2026-07","word_count":163,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"Eugene","author_nicename":"eugene","author_url":"https:\/\/truehost.com\/support\/author\/eugene\/"},"doc_category_info":[{"term_name":"Cloud servers in Kenya","term_url":"https:\/\/truehost.com\/support\/docs-category\/cloud-servers-in-kenya\/"},{"term_name":"dedicated servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/dedicated-servers\/"},{"term_name":"Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/servers\/"},{"term_name":"VPS-Servers","term_url":"https:\/\/truehost.com\/support\/docs-category\/vps-servers\/"}],"doc_tag_info":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to disable\/enable php_functions on DirectAdmin -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to disable\/enable php_functions on DirectAdmin -\" \/>\n<meta property=\"og:description\" content=\"If your web application isn\u2019t working properly due to specific PHP functions, you may need changes from the server admin or host. With root access to cPanel or DirectAdmin, you can manage these PHP functions yourself using this guid\" \/>\n<meta property=\"og:url\" content=\"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-12T11:59:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/\",\"name\":\"How to disable\\\/enable php_functions on DirectAdmin -\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-155.png\",\"datePublished\":\"2024-11-12T11:59:11+00:00\",\"dateModified\":\"2024-11-12T11:59:55+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-155.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2024\\\/11\\\/image-155.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/knowledge-base\\\/how-to-disable-enable-php_functions-on-directadmin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/truehost.com\\\/support\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to disable\\\/enable php_functions on DirectAdmin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"name\":\"\",\"description\":\"Help In a Click\",\"publisher\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/truehost.com\\\/support\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#organization\",\"name\":\"Truehost Kenya\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"contentUrl\":\"https:\\\/\\\/truehost.com\\\/support\\\/wp-content\\\/uploads\\\/2026\\\/04\\\/cropped-image_2026-04-16_174808866.png\",\"width\":240,\"height\":48,\"caption\":\"Truehost Kenya\"},\"image\":{\"@id\":\"https:\\\/\\\/truehost.com\\\/support\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to disable\/enable php_functions on DirectAdmin -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/","og_locale":"en_US","og_type":"article","og_title":"How to disable\/enable php_functions on DirectAdmin -","og_description":"If your web application isn\u2019t working properly due to specific PHP functions, you may need changes from the server admin or host. With root access to cPanel or DirectAdmin, you can manage these PHP functions yourself using this guid","og_url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/","article_modified_time":"2024-11-12T11:59:55+00:00","og_image":[{"url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/","url":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/","name":"How to disable\/enable php_functions on DirectAdmin -","isPartOf":{"@id":"https:\/\/truehost.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/#primaryimage"},"image":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/#primaryimage"},"thumbnailUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png","datePublished":"2024-11-12T11:59:11+00:00","dateModified":"2024-11-12T11:59:55+00:00","breadcrumb":{"@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/#primaryimage","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2024\/11\/image-155.png"},{"@type":"BreadcrumbList","@id":"https:\/\/truehost.com\/support\/knowledge-base\/how-to-disable-enable-php_functions-on-directadmin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/truehost.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to disable\/enable php_functions on DirectAdmin"}]},{"@type":"WebSite","@id":"https:\/\/truehost.com\/support\/#website","url":"https:\/\/truehost.com\/support\/","name":"","description":"Help In a Click","publisher":{"@id":"https:\/\/truehost.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/truehost.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/truehost.com\/support\/#organization","name":"Truehost Kenya","url":"https:\/\/truehost.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","contentUrl":"https:\/\/truehost.com\/support\/wp-content\/uploads\/2026\/04\/cropped-image_2026-04-16_174808866.png","width":240,"height":48,"caption":"Truehost Kenya"},"image":{"@id":"https:\/\/truehost.com\/support\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/comments?post=17153"}],"version-history":[{"count":2,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17153\/revisions"}],"predecessor-version":[{"id":17160,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/docs\/17153\/revisions\/17160"}],"wp:attachment":[{"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/media?parent=17153"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_category?post=17153"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/truehost.com\/support\/wp-json\/wp\/v2\/doc_tag?post=17153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}