Search code examples
phpshellexecute

shell_exec(),exec() on php is not working


i disabled safe_mode by off value and tried with shell_exec(),exec() both functions on 1and1 dedicated server its not working, even its working in another server.


Solution

  • Those (and any other) functions can be disabled in the php.ini. I do this on my servers often. Perhaps you should ask them if those functions are enabled?