I have a problem with exec(*.exe ... 2>&1, $out)
in PHP. It ran perfectly in Localhost But when I upload hosting Linux, An error happen: "sh: *.exe : cannot execute binary file"
. What did I do: - php.ini checked : ;disable_functions = mai,system,passthru,shell_exec, *...
; - run perfectly in Localhost; ( echo $out
,...) - check PATH ( full Path); Please help me ...
exe ist a Windows File. You cannot execute an .exe File on Linux. This is only possible on Windows.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.