nsForum logo

Welcome Guest ( Log In )

 
Reply to this topicStart new topic
> Php Shell_exec Not Working
sahajbedi
post Sep 10 2015, 04:30 PM
Post #1





Group: Verified NS Member
Posts: 5
Joined: 28-July 15
Member No.: 24,281



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.
Thanks
Go to the top of the page
 
+Quote Post
Craig
post Sep 14 2015, 10:56 PM
Post #2





Group: Administrators
Posts: 988
Joined: 23-June 08
From: Pennsylvania
Member No.: 1,317



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.
Thanks

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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
Tags
No Tag inserted yet

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Lo-Fi Version    Network Solutions © 2011 Time is now: 26th March 2017 - 02:03 AM
Domain Names | Web Hosting | Web Design | Shopping Cart Software | Online Marketing | SSL Certificates