How can I debug exec() problems?

后端 未结 4 784
情深已故
情深已故 2020-11-22 00:47

The exec command doesn\'t work on my server, it does not do anything, I\'ve had safe_mode off, and verified that all the console commands are working, I\'ve tried with absol

4条回答
  •  情书的邮戳
    2020-11-22 01:21

    You can retreive the outputs and return code of the exec commands, thoses might contains informations that would explain the problem...

    exec('my command', $output, $return);
    

提交回复
热议问题