我花了大半个下午的时间试图弄清楚如何在
Ubuntu 20.04
到create, write, read files
上允许apache2。
我有
tried:
changing ownership
changing access
changing permissions
i've tried re-installing apache2
$ PHP
I've tried adding groups
plus much more
应该有一种方法可以通过 apache2 允许读取和写入权限,因为在重新安装服务器时它提到需要更改一些设置。
Most answers
我在网上找到的大多是 outdated
并且似乎都指向“更改所有权和访问权限等策略”。另外我必须提到,我设法在不使用 httpd.conf
的情况下启动并运行实时服务器,而是使用 apache2.conf
.
有什么建议吗?
你能发布 ls -altr /etc/apache2/ 的结果吗?