{"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":"2025-08-27T07:12:36","modified_gmt":"2025-08-27T07:12:36","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 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\">\n<\/p><p class=\"no-margin\"><i>system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, escapeshellcmd, apache_child_terminate, virtual, mb_send_mail<\/i>&nbsp;<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">To enable any of these functions, go to <b><a href=\"https:\/\/hpanel.hostinger.com\/websites\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">Websites<\/a> <\/b>&rarr;<b> Manage<\/b>, search for <b>PHP Configuration<\/b> on the sidebar and click on it:<\/p><p class=\"no-margin\">\n<\/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\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Open the <b>PHP options<\/b> tab, and scroll to the <b>disableFunctions <\/b>section:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2019\/08\/89ca025d-bd08-4443-b3d6-b8fd0c0589bc.jpg\"><\/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 &#128522; <\/p>\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-PT","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":1,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1310\/revisions"}],"predecessor-version":[{"id":4987,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1310\/revisions\/4987"}],"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}]}}