vi httpd.conf
查看user是哪个用户 我的是daemon
然后执行
chown daemon:daemon -R /data/wordpress
/data/wordpress 是我的博客主目录