Solved-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 c

0

If you are asked to enter your ftp details such as username, password and hostname   in order to  update, activate and at times  delete any wordpress plugin, then obviously  you have a permission problem. The message displayed  is normally

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 ..

The only way to resolve this problem is to have  root access to the account . If you dont have  root access to the account then you have to enter your ftp details in order to  update or activate the plugin. If you have a root access then follow the steps below.

Step1.—-The simpliest  way to do this is to find out what user apache is running as and change ownership of the entire WordPress directory to that particular user.  if you dont know the user, simply create a folder named “test”  inside  your public_html folder and inside the folder create a file and add this php code   .

<?php echo(exec("whoami")); ?>

Assuming you created a folder called “test” and  inside the folder created a file called “testfile” with the php code inside, assessing  the url public_html/test/testfile  will display the user which your are running on.

Step 2—log into ssh and navigate to the public folder where the wordpress install is and issue the command

# chown -R admin*

*****Note that the comand depending on the folder you are .you can  still issue the command  below and it  will work

# chown -R admin:Wordpress

Congratulations you have solved the errors message -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 c

 

Share.

About Author

Comments are closed.