All Collections
PHP Extensions and Options
How to Enable Disabled PHP Functions
How to Enable Disabled PHP Functions

Enabling PHP functions, which are disabled by default: system, exec, shell_exec, and others

Updated over a week ago

Some PHP functions on our Web and Cloud hosting plans are disabled by default in concern of your website security. However, some of them can be enabled manually:

system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, escapeshellcmd, apache_child_terminate, virtual, mb_send_mail 

To enable any of these functions, go to Websites Manage, search for PHP Configuration on the sidebar and click on it:

Open the PHP options tab, and scroll to the disableFunctions section:

All you need to do is remove the needed function from the list and save changes. Your PHP function will start working after this 😊

Did this answer your question?