WordPress does not use FTP internally. Well, it does sometimes if you’ve specifically configured it. Have you configured FTP in wp-config.php? If not, then WP is not using it.
thanks for your response
I do not understand.
if i say: update a plugin, then WP asks me for the FTP login details.
I presume to ftp-upload the new files into the DIR.
so, would therefore it not go through ftp ?
If WP is asking for FTP, it means that your file system permissions and ownership are set to the FTP user for your hosting account, and are not writeable by the user under which PHP is running. That’s something you should address with your host. In that case, yes, WP is using FTP.
Try adding define('FS_METHOD', 'direct'); to your wp-config.php file, above where it says “stop editing”.
Hi
I tried that immediately. Alas to NO avail
I get an error:
Update failed: Could not create directory.
And yes, I checked the permissions for the whole wp-content folder. It is set to 777
That’s wrong. it should be 755 or 775 for directories and 664 or 644 for files.
Try contacting your host about the correct OWNERSHIP as well as permissions.
“That’s wrong. it should be 755 or 775 for directories and 664 or 644 for files.”
I am aware of 777 being not ok. I just set it to that to give the outside process a chance.
I am not sure how to formulate the question to the hosting company.
I’d ask “Why does my WordPress installation use FTP to update? I think it may be due to a permission or ownership issue. Can you check?”
many thank for your time and patience
i will C&P this into an email.