簡體   English   中英

調試exec()PHP:“ sh:* .exe:無法執行二進制文件”

[英]Debug exec() PHP: “sh: *.exe : cannot execute binary file”

我在PHP中遇到exec(*.exe ... 2>&1, $out)問題。 它可以在Localhost上完美運行,但是當我上傳主機Linux時,發生錯誤: "sh: *.exe : cannot execute binary file" 我該怎么辦:-php.ini檢查: ;disable_functions = mai,system,passthru,shell_exec, *... ; -在Localhost中完美運行; echo $out ,...)-檢查PATH(完整路徑); 請幫我 ...

執行Windows文件。 您不能在Linux上執行.exe文件。 這僅適用於Windows。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM