gioh on "[Plugin: Wordfence Security] Final step asks for Connection Information via FTP but I'm on AWS"

ساخت وبلاگ

The final step is asking for:

Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Problem is my site is on AWS and there's no FTP user per se. The key file is installed on my machine and I'm able to connect to the site via SSH or sftp, but don't need a traditional password.

How can I get this part completed?

https://wordpress.org/plugins/wordfence/

WFBrian
Member
Plugin Author

Posted 1 month ago #

Hi,

If WordPress is asking you for FTP creds when trying to install themes or plugins, that means that WordPress does not have the necessary permissions to write to the underlying file system of your server. Here's a good post that explains what could be going on:

http://www.chrisabeethy.com/why-wordpress-asks-connection-info/

Hope that helps point you in the right direction.
-Brian

syamrajk
Member
Posted 21 minutes ago #

This means that WordPress is having limited permission for making changes in the folder that it was installed.

In-order to fix this, all that you need to do is provide necessary permissions for the same.

Run the following Command in your Terminal / Putty / Commandline Prompt after connecting to your Server via SSH.

sudo chown -R apache:apache /var/www/html

Checkout the below article for full details,
How to fix the infamous issue of WordPress asking for FTP Credentials for Installing Plugins / Themes ?

Syam | MMWYS.Online

Yeah, thanks for that, I had already figured it out.

BTW, setting apache as the owner isn't always going to work, it's gotta be the user apache is running as. Mine isn't "apache." Furthermore, the active directory for my document root isn't at /var/www/html so running that command wouldn't do the trick for me. So it's close, but no cigar.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 267 تاريخ : جمعه 15 مرداد 1395 ساعت: 14:07