views:

14

answers:

0

Hi,

I am trying to run an .exe file deployed by matlab (windows based) from a php website (basic LAMP installed) hosted on an basic Fedora EC2 instance (amazon's cloud) , when the idea is to upload files, process them on the server and return a download link.

  • I've tried backticks (`), to work directly with the shell but I get a "permission denied" error, even though I opened all permissions (chmod 7777) for it.

  • I've tried running it through WINE but I get an error saying that the .exe is trying to open a window (the basic exe window maybe?)

  • I thought about embedding it through Java but my Matlab Java compiler doesn't work for some reason, and I never worked with Java before.

Running a Windows instance+ASP (IIS) is not an options since it's very slow and my internet connection is too slow for remote desktop.

I'm quit a newbie so if anything seems trivial for you I would love to hear it.