Jump to content

I cant run an exe file with php


x_maras

Recommended Posts

Hi,

I ve got a wamp server installed in my computer.

And I ve got a code that runs an .exe and writes on an xml file.

In my wamp everything runs good.

I uploaded the files in a server and the same code soesnt run the .exe

I gave 777 permissions to the exe in the case that that was the problem but

nothing.

 

Does anyone knows what can be the problem?

 

 

Link to comment
Share on other sites

You might be able to run it through Wine with a lot of finagling.

 

 

Getting an EXE to run on Linux probably won't be worth the effort though.  What does it do?  How hard would it be to mod the source code (assuming you have it) and recompile it for linux?

Link to comment
Share on other sites

I was thinking of something that maybe sounds stupid but I will ask  :)

 

If every user of this web applcication had the exe in a folder in the program files,

and first had to run the exe, is it possible to make a script for uploading the xml file that produces into the server or the opposite to download to a folder automatically with a script?

 

sorry if I m upseting you with my ignorance!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.