0

I found the shell_exec() function is disabled in my remote server.

Is there is any other way or tips to execute the shell_exec() function?

hakre
  • 193,403
  • 52
  • 435
  • 836
sirin k
  • 373
  • 4
  • 14

3 Answers3

0

Well, there are some alternatives (eg system(), exec(), passthru(), backtick operator), but my guess is that they will be disabled too :)

I think you're out of luck here!

Dennis Haarbrink
  • 3,738
  • 1
  • 27
  • 54
0

Is there is any other way or tips to execute the shell_exec() function?

Probably no, because the function is usually disabled for security reasons.

You would have to talk to your provider, or - if possible - look for a PHP library that does what you want to do without needing shell_exec()

Pekka
  • 442,112
  • 142
  • 972
  • 1,088
0

You can see ref of official documentation

[http://www.php.net/manual/en/ref.exec.php][1]
Pramendra Gupta
  • 14,667
  • 4
  • 33
  • 34