unable to run oowriter as web user

后端 未结 5 439
-上瘾入骨i
-上瘾入骨i 2021-01-17 19:00

I have a web server set up on my laptop. I am building a web application which I am accessing through the local network. I have a php file which contains the following lines

5条回答
  •  旧巷少年郎
    2021-01-17 20:00

    OpenOffice needs a user directory. Since you are trying to invoke OpenOffice with the web server, you have to grant the respective user write access to is. On Debian, for instance, that would mean to allow www-data to write to /var/www/.openoffice.org/:

    mkdir /var/www/.openoffice.org
    chown www-data /var/www/.openoffice.org
    

提交回复
热议问题