Tag Archives: upgrade

Fix WordPress automaticlly upgrade wordpress upgrade automatically ‘Could not copy file……’

Posted on 27. Nov, 2009 by Yao Yuan.

0

I had moved my weblog to a cheapest vps server, it used to on a share hosting. but at the same time, the problem came . i can not use automaticlly upgrade of wordpress. it’s told me that ‘Could not copy file……’, and i need to fill the ftp infomations when i do it.
i found a funcion get_filesystem_method , the explanation of it

(FTP) it only uses this when it detects that files it creates have the wrong owner name

so, it’s clear… the owner of the dir and php process is different.

login ssh, do this

chown -R apache dir

it’s ok now.

Continue Reading