Hi!
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 tool.exe"
But when running the same from my php script...
exec("wine tool.exe");
...I get the following in my Apache error log: wine: '/var/www' is not owned by you, refusing to create a configuration directory there
I guess this is a simple fundamental linux user rights problem... Should I change the user rights for Wine to www-data? How?