You can modify different php settings for your account, using php.ini file. We recommend using our default php.ini file that is the most compatible with our servers and was specifically created to optimize the process of php values modification.
You can learn how to find and edit php.ini on our shared and business servers here:

1. How to edit php.ini file on shared servers with SuPHP module

2. How to edit php.ini on business servers with FastSGI module

To enable exec() function, you need to remove it from the following line in your php.inifile:

             disable_functions = “show_source, system, shell_exec, exec” 

1. Open your php.ini and find the following section

exec01

2. Remove exec from the line and click on Save Changes

exec02

If you need to disable show_source, system or shell_exec as well, just remove them from the line and save the changes.

If your account is hosted on a shared server, the suPHP configuration directive should be added to your .htaccess file to make these settings global for the entire account. You can find step by step instruction here.

In case your account is located on a business server no other modifications should be applied.

Need any help? Contact our Helpdesk

About Author

Leave a Reply

Your email address will not be published. Required fields are marked *