{"id":7191,"date":"2019-05-27T10:53:31","date_gmt":"2019-05-27T10:53:31","guid":{"rendered":"https:\/\/www.milesweb.in\/hosting-faqs\/?p=7191"},"modified":"2026-02-26T18:00:32","modified_gmt":"2026-02-26T12:30:32","slug":"how-to-disable-php-functions-using-control-panel","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/","title":{"rendered":"How to Disable PHP Functions using Control Panel?"},"content":{"rendered":"<h2>Steps to Disable PHP Functions :<\/h2>\n<p>1. Log in to <strong>Control Panel<\/strong>.<\/p>\n<p>2. Go to <strong>CGI<\/strong> and then<strong> Scripted Language Support<\/strong>.<\/p>\n<p>3. Click on <strong>PHP Scripting<\/strong>.<\/p>\n<p>4. You can see your <strong>php.ini<\/strong> file that gets displayed in a text box at the bottom.<\/p>\n<p>5. If your editing is disabled then click on <strong>Edit<\/strong> to make changes in the php.ini file.<\/p>\n<p>6. Find the block of codes within your php.ini file as given below :<br \/>\n; &#8211; Using this directive you can disable certain functions for the security purposes.<br \/>\nThis directive receives a comma-delimited list of function names. It is <strong>NOT<\/strong> affected by the status of Safe Mode i.e. even if it is <strong>On or Off<\/strong>.<br \/>\n<strong>; http:\/\/php.net\/disable-functions<\/strong><br \/>\n<strong>disable_functions=<\/strong><\/p>\n<p>7. Immediately after &#8216;disable_functions=&#8217;, write down the functions those you want to disable (for example exec, passthru, popen). Here is a list that you can disable in order to improve security :<\/p>\n<p><strong>\u2022 exec<\/strong><br \/>\n<strong> \u2022 passthru<\/strong><br \/>\n<strong> \u2022 shell_exec<\/strong><br \/>\n<strong> \u2022 system,<\/strong><br \/>\n<strong> \u2022 proc_open<\/strong><br \/>\n<strong> \u2022 popen<\/strong><br \/>\n<strong> \u2022 curl_exec<\/strong><br \/>\n<strong> \u2022 curl_multi_exec<\/strong><br \/>\n<strong> \u2022 parse_ini_file<\/strong><br \/>\n<strong> \u2022 show_source<\/strong><\/p>\n<p>8. Now click on <strong>Save<\/strong>.<\/p>\n<p>That&#8217;s it.<br \/>\nThese are some of the common PHP functions that are disabled usually. Performing this operation using the control panel is very easy.<\/p>\n<p><strong>Also Read :<\/strong><\/p>\n<p><strong>1)<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-change-your-cpanel-language\/\">Change Control Panel Language (cPanel)<\/a><\/strong><\/p>\n<p><strong>2)<a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-access-control-panel\/\">How To Access Control Panel?<\/a><\/strong><\/p>\n<p><strong>3) <a href=\"https:\/\/www.milesweb.in\/hosting-faqs\/getting-started-with-cpanel\/\">Getting\u00a0Started With cPanel<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Steps to Disable PHP Functions : 1. Log in to Control Panel. 2. Go to CGI and then Scripted Language Support. 3. Click on PHP Scripting. 4. You can see your php.ini file that gets displayed in a text box at the bottom. 5. If your editing is disabled then click on Edit to make [&hellip;]<\/p>\n","protected":false},"author":18,"featured_media":7193,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3043],"tags":[732,18,733],"class_list":["post-7191","post","type-post","status-publish","format-standard","has-post-thumbnail","placeholder-for-hentry","category-getting-started","tag-disable-php-functions","tag-php","tag-php-functions"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Disable PHP Functions using Control Panel? - Web Hosting FAQs by MilesWeb<\/title>\n<meta name=\"description\" content=\"There are some function in PHP that you might wish to disable. With this article learn how to disable PHP functions using Control Panel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Disable PHP Functions using Control Panel? - Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"og:description\" content=\"There are some function in PHP that you might wish to disable. With this article learn how to disable PHP functions using Control Panel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-27T10:53:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T12:30:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Sonam Wagh\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sonam Wagh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\"},\"author\":{\"name\":\"Sonam Wagh\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\"},\"headline\":\"How to Disable PHP Functions using Control Panel?\",\"datePublished\":\"2019-05-27T10:53:31+00:00\",\"dateModified\":\"2026-02-26T12:30:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\"},\"wordCount\":218,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png\",\"keywords\":[\"disable PHP functions\",\"PHP\",\"PHP functions\"],\"articleSection\":[\"Getting Started\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\",\"name\":\"How to Disable PHP Functions using Control Panel? - Web Hosting FAQs by MilesWeb\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png\",\"datePublished\":\"2019-05-27T10:53:31+00:00\",\"dateModified\":\"2026-02-26T12:30:32+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\"},\"description\":\"There are some function in PHP that you might wish to disable. With this article learn how to disable PHP functions using Control Panel.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png\",\"width\":800,\"height\":445,\"caption\":\"Disable PHP function\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Disable PHP Functions using Control Panel?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4\",\"name\":\"Sonam Wagh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg\",\"contentUrl\":\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg\",\"caption\":\"Sonam Wagh\"},\"description\":\"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/sonam\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Disable PHP Functions using Control Panel? - Web Hosting FAQs by MilesWeb","description":"There are some function in PHP that you might wish to disable. With this article learn how to disable PHP functions using Control Panel.","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:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/","og_locale":"en_US","og_type":"article","og_title":"How to Disable PHP Functions using Control Panel? - Web Hosting FAQs by MilesWeb","og_description":"There are some function in PHP that you might wish to disable. With this article learn how to disable PHP functions using Control Panel.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-05-27T10:53:31+00:00","article_modified_time":"2026-02-26T12:30:32+00:00","og_image":[{"width":800,"height":445,"url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png","type":"image\/png"}],"author":"Sonam Wagh","twitter_misc":{"Written by":"Sonam Wagh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/"},"author":{"name":"Sonam Wagh","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4"},"headline":"How to Disable PHP Functions using Control Panel?","datePublished":"2019-05-27T10:53:31+00:00","dateModified":"2026-02-26T12:30:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/"},"wordCount":218,"commentCount":0,"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png","keywords":["disable PHP functions","PHP","PHP functions"],"articleSection":["Getting Started"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/","name":"How to Disable PHP Functions using Control Panel? - Web Hosting FAQs by MilesWeb","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png","datePublished":"2019-05-27T10:53:31+00:00","dateModified":"2026-02-26T12:30:32+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4"},"description":"There are some function in PHP that you might wish to disable. With this article learn how to disable PHP functions using Control Panel.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#primaryimage","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/05\/Disable-PHP-min.png","width":800,"height":445,"caption":"Disable PHP function"},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/how-to-disable-php-functions-using-control-panel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"How to Disable PHP Functions using Control Panel?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/dc645d02823c86e07e53798ebe02c6f4","name":"Sonam Wagh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg","contentUrl":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/12\/Sonam-Wagh-150x150.jpg","caption":"Sonam Wagh"},"description":"With an interest in doing something creative daily, Sonam works as a Digital Marketing Executive. She likes to write technical blogs related to web hosting, digital marketing, and other IT topics. She also likes to spend her leisure time on social media to find different strategies for client engagement.","url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/sonam\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=7191"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7191\/revisions"}],"predecessor-version":[{"id":17409,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/7191\/revisions\/17409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media\/7193"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=7191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=7191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=7191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}