Wordpress plugin install: Could not create directory

前端 未结 16 1377
[愿得一人]
[愿得一人] 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:13

    You need to change the permission of the directory

    1. At first change the user HTML folder (replace yourcomputerusername)

      sudo chown yourcomputerusername:yourcomputerusername /var/www/html

    2. Next change the permission for the user

      cd /var/www/html

      sudo chmod -R goa=rwx wordpress

      or

      sudo chmod -R 777 wordpress/wp-content

提交回复
热议问题