{"id":1310,"date":"2019-08-08T10:42:40","date_gmt":"2019-08-08T10:42:40","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/08\/08\/3212034-how-to-enable-disabled-php-functions-in-hostinger\/"},"modified":"2026-08-10T10:21:27","modified_gmt":"2026-08-10T10:21:27","slug":"3212034-how-to-enable-disabled-php-functions-in-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/3212034-how-to-enable-disabled-php-functions-in-hostinger\/","title":{"rendered":"How to enable disabled PHP functions in Hostinger"},"content":{"rendered":"<p>Enable disabled PHP functions in Hostinger, such as system, exec, shell_exec, and others that are turned off by default for security reasons.<\/p><h3>Before you start<\/h3><ul>\n<li>Check <a href=\"https:\/\/www.hostinger.com\/support\/1583467-how-to-check-the-php-information-of-your-website-in-hostinger\/\">how to check the PHP information of your website in Hostinger<\/a> to see your current PHP configuration first.<\/li>\n<\/ul><h2 id=\"h-disabled-functions-you-can-enable\">Disabled functions you can enable<\/h2><p class=\"no-margin\">Some PHP functions on our <b>Web<\/b> and <b>Cloud<\/b> hosting plans are disabled by default in concern of your website security. However, some of them can be enabled manually:<\/p><p class=\"no-margin\"><i>system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail<\/i><\/p><p class=\"no-margin\">To enable any of these functions, go to <b><a class=\"intercom-content-link\" href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" rel=\"noopener\">Websites<\/a> <\/b>&rarr;<b> Dashboard<\/b>, search for <b>PHP Configuration<\/b> on the sidebar and click on it:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/08\/b47cf0ab-2c0f-460d-b610-b6d438d2e334.jpg\" alt=\"Hostinger hPanel Advanced menu with PHP Configuration highlighted\" data-media-id=\"4982\"><\/div><p class=\"no-margin\">Open the <b>PHP options<\/b> tab, and scroll to the <b>disableFunctions <\/b>section:<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" class=\"alignnone size-full wp-image-15097\" src=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-10.png\" alt=\"\" width=\"1214\" height=\"789\" srcset=\"https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-10.png 1214w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-10-300x195.png 300w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-10-1024x666.png 1024w, https:\/\/www.hostinger.com\/support\/wp-content\/uploads\/sites\/55\/2026\/08\/2026-08-10_17-10-768x499.png 768w\" sizes=\"(max-width: 1214px) 100vw, 1214px\" \/><\/div><p class=\"no-margin\">All you need to do is remove the needed function from the list and save changes. Your PHP function will start working after this.<\/p><p><strong>NOTES<\/strong><\/p><ul>\n<li>proc_open is disabled by default for all newly created accounts. Existing accounts are not affected. If a plugin or script requires proc_open (including WP-CLI commands run via SSH), remove it from the disableFunctions list using the steps above.<\/li>\n<li>If you also need to disable output buffering, see <a href=\"https:\/\/www.hostinger.com\/support\/1583369-how-to-disable-php-output_buffering-at-hostinger\/\">how to disable PHP output_buffering at Hostinger.<\/a><\/li>\n<\/ul><div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Enabling PHP functions, which are disabled by default: system, exec, shell_exec, and others<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[232],"tags":[],"class_list":["post-1310","post","type-post","status-publish","format-standard","hentry","category-php-extensions-and-options"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/3212034-how-to-enable-disabled-php-functions-in-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/3212034-como-habilitar-las-funciones-de-php-deshabilitadas-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/3212034-comment-activer-les-fonctionnalites-php-desactivees-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/3212034-cara-mengaktifkan-fungsi-php-yang-tidak-aktif-di-hostinger\/","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/3212034-como-habilitar-funcoes-php-predefinidas-como-desabilitadas-na-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/3212034-----php--hos\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1310"}],"version-history":[{"count":6,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1310\/revisions"}],"predecessor-version":[{"id":15107,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1310\/revisions\/15107"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1310"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1310"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}