asmith wrote: > wine again created .wine in root. (I am logged as root for now) How do I change it? Create another user and log in as that user. How exactly are you running it from php? asmith wrote: > wine /root/.wine/drive_c/program.exe -file test.ext You have to specify full path to both executable and your input file. Both have to be Windows paths not UNIX. To convert paths use program 'winepath'.