I need to run a windows command line tool from a php script on my Debian server. For that, I\'m trying Wine. Invoking wine and the tool via terminal works fine: \"$ wine too
You're going to want to use chown to modify the ownership of wine and tool.exe.
Be advised that this could potentially open up some security concerns.