Hi ! I am trying to execute an external file i.e abc.exe from php but it is not working. I have used the following code: Code: <?php exec("executable1.exe -o arg1 arg2"); shell_exec("executable1.exe -o arg1 arg2"); system("executable1.exe -o arg1 arg2"); ?> None of the commands seem to be working. What's wrong in the code?
It may sound funny to all. I developed a software in Windows and transferred to server which is Linux Server. This was the reason EXE files were not working there.