WordPress Plugin Update Asks for FTP Credentials
Installing updates does not work without manually providing an FTP account.
How to identify the source of the problem
Check the owner of the WP folders and the ability to directly save plugins through PHP.
Check the bug log, recent plugin changes and the environment version on the site test copy.
Repair steps
Set up safe file permissions and the right update mechanism for hosting.
How to Test Solution
Trusted updates run without sharing FTP passwords in the form.
Security and restrictions
Make a backup before you migrate or update PHP. Do not enter access data in untrusted forms.