QUOTE (sahajbedi @ Sep 10 2015, 05:30 PM)
I am building a website in PHP and want to use the shell_exec command. I get a warning whenever I try to execute this. When I try to execute the "exec" command I get a warning that says "Unable to fork".
What could the problem be and what is the solution for it.
By default, shell_exec is disabled. You can enable it through your /cgi-bin/php.ini file, but it is not recommended as it can create a security hole. If you have it enabled, you may be trying to use a shell command that we have blocked for security reasons.