Wordpress plugin install: Could not create directory

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

    I had to give ownership of /plugins and /upgrade to the server, nothing else.

    $ cd /var/www/wordpress/wp-content
    $ sudo chown www-data:www-data /plugings
    $ sudo chown www-data:www-data /upgrade
    

    Running Apache server on Ubuntu 18.04. Maybe more dirs will need to be changed later. Anyways, I plan to restore permissions once I finish editing, as suggested in this anwser.

提交回复
热议问题