Any plugin installation failed - could not copy file error

为君一笑 提交于 2021-01-28 07:27:16

问题


everytime I install a new plugin for wordpress it says Could not copy file and the files address. Does anybody know why this is the case.


回答1:


Check file premissions and (important!) file owner or group. If you use apache server group must be www-data (default). This can be a solution




回答2:


I was facing the same issue but in my case I was updating using FTP.

I fixed it by setting the hostname to "localhost" instead of using the IP.

This is because there was a loop happening and making the file upload fail and that's logged in the /var/log/vsftpd.log



来源:https://stackoverflow.com/questions/48666897/any-plugin-installation-failed-could-not-copy-file-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!