[URGENT] shell_exec function error

  • Posted March 30, 2014

Please provide support to us on exec command and shell_exec function on server.

These functions is blacklisted on server please can we enable it ?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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

You get full root access to your droplet so you can enable it yourself. Edit <code>/etc/php.ini</code> and remove shell_exec and exec from the line that begins with “disable_functions” (if that doesn’t exist, search for “exec”). <br> <br>Finally, restart Apache or php5-fpm (depending on which you are using).