怎样解决自己host的wordpress 5.3.2 无法上传图片error: Unable to create directory wp-content/uploads/2020/03. Is its parent directory writable by the server?

Friday, Mar 20, 2020 | 1 minute read | Updated at Friday, Mar 20, 2020

ssh 到wordpress主机上,cd到wordpress目录。用

$ ls -l | grep grep wp-content

看看 wp-content 的权限。

如果是这样的

说明没有写权限,解决方法如下

$ chmod 777 wp-content/

这样应该就没问题了。