Report this

What is the reason for this report?

[URGENT] shell_exec function error

Posted on March 30, 2014

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 ?



This textbox defaults to using Markdown to format your 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).

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.