How to use Wine from Apache/Php? - '/var/www' is not owned by you

后端 未结 7 1301
被撕碎了的回忆
被撕碎了的回忆 2020-12-18 06:55

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

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-18 07:31

    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.

提交回复
热议问题