Wordpress plugin install: Could not create directory

前端 未结 16 1378
[愿得一人]
[愿得一人] 2021-02-01 01:38

I\'m using WordPress on centos 6.

I try to install a plugin. But I got this error:

Installing Plugin: bbPress 2.5.9 Downloading install package

16条回答
  •  孤独总比滥情好
    2021-02-01 02:09

    The user that is running your web server does not have permissions to write to the directory that Wordpress is intending to create the plugin directory in. You should chown the directory in question to the user that is running Wordpress. It is most likely not root.

    In short, this is a permissions issue. Your touch command is working because you're using it as root, and root has global permissions to write wherever it wants.

提交回复
热议问题