I have configured with serverpilot. Now when ever there is a plugin update in wordpress I have to feed the FTP details which never works. How do I enable the feature which used to be in cpanel. Like clicking the update button will automatically do itself.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
This question was answered by @jsamuel:
Hi,
If WordPress asks you for FTP credentials, it means your file permissions are not correct. Most likely, you accidentally created some of your files as “root” rather than as the user your app runs as which is “serverpilot”.
Take a look here for how to fix permissions issues like this:
https://serverpilot.io/community/articles/how-to-fix-file-permissions.html
Click below to sign up and get $100 of credit to try our products over 60 days!
Hi,
If WordPress asks you for FTP credentials, it means your file permissions are not correct. Most likely, you accidentally created some of your files as “root” rather than as the user your app runs as which is “serverpilot”.
Take a look here for how to fix permissions issues like this:
https://serverpilot.io/community/articles/how-to-fix-file-permissions.html