[URGENT] shell_exec function error

March 30, 2014 1.5k views
Please provide support to us on exec command and shell_exec function on server. These functions is blacklisted on server please help.how can we enable it ?
2 Answers
You get full root access to your droplet so you can enable it yourself. Edit /etc/php.ini and remove shell_exec and exec from the line that begins with "disable_functions" (if that doesn't exist, search for "exec").

Finally, restart Apache or php5-fpm (depending on which you are using).

Verify if you are insert '2>&1' corresponding an ENTER, in your command line

Have another answer? Share your knowledge.